Warnings correction (now unisgned int compares to a int)

Signed-off-by: Nans Plancher <nans.plancher@gmail.com>