Fix type for temp variable

Change-Id: I8e2d229da326e5182692f94660336169fb249da7
This commit is contained in:
Michael Wright 2014-08-29 16:16:26 -07:00
parent bcbf97ef8f
commit 3da3b8436c

View File

@ -1851,7 +1851,7 @@ void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
void SwitchInputMapper::sync(nsecs_t when) { void SwitchInputMapper::sync(nsecs_t when) {
if (mUpdatedSwitchMask) { if (mUpdatedSwitchMask) {
int32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask; uint32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask;
NotifySwitchArgs args(when, 0, updatedSwitchValues, mUpdatedSwitchMask); NotifySwitchArgs args(when, 0, updatedSwitchValues, mUpdatedSwitchMask);
getListener()->notifySwitch(&args); getListener()->notifySwitch(&args);