DescriptionFixing signed/unsigned char bug on ARM for TouchFactory
Change the type of valuator_lookup_[kMaxDeviceNum][TP_LAST_ENTRY] from "char" to "signed char".
-1 is set for valuator_lookup_[][] for invalid entry.
Some ARM platform/cross-compiler defaults "char" as
"unsigned char" which does not accommodate negative
value -1. Fixing it by specifically setting the type
to "signed char".
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91736
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|