Fix type for temp variable

Change-Id: I8e2d229da326e5182692f94660336169fb249da7
diff --git a/services/inputflinger/InputReader.cpp b/services/inputflinger/InputReader.cpp
index b7c7ff4..8634e42 100644
--- a/services/inputflinger/InputReader.cpp
+++ b/services/inputflinger/InputReader.cpp
@@ -1851,7 +1851,7 @@
 
 void SwitchInputMapper::sync(nsecs_t when) {
     if (mUpdatedSwitchMask) {
-        int32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask;
+        uint32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask;
         NotifySwitchArgs args(when, 0, updatedSwitchValues, mUpdatedSwitchMask);
         getListener()->notifySwitch(&args);