[media] smiapp: Scaling goodness is signed
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 15 Apr 2014 18:22:11 +0000 (15:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 14:30:22 +0000 (11:30 -0300)
The "best" value was unsigned however, leading to signed-to-unsigned
comparison and wrong results. Possibly only on a newer GCC. Fix this by
making the best value signed as well.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found