Fixed a bug where negative numbers were being converted to uchar.

Change-Id: I8dcdc3ad399259c3f1d5d8425d09e1c7c896522a
Merge topic 'fixed-float-to-char-conversion' into master

99b0acdb Fixed a bug where negative numbers were being converted to uchar.