diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-16 11:15:25 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-16 13:19:52 +1000 |
commit | 4616c79f6cc6d81c1d9d27efa05ffaf51d521d2b (patch) | |
tree | 9621f0fd9a6cf897659ccf3fd3d6e6b259eb3fb3 | |
parent | a31170718d098fd7ce42cf4f6e457a713e39a0c1 (diff) |
Change cached bitmasks from long to unsigned long.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/evdev.c | 10 | ||||
-rw-r--r-- | src/evdev.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/evdev.c b/src/evdev.c index 8f037fb..ec652d9 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1208,11 +1208,11 @@ EvdevCacheCompare(InputInfoPtr pInfo, BOOL compare) int i; char name[1024] = {0}; - long bitmask[NLONGS(EV_CNT)] = {0}; - long key_bitmask[NLONGS(KEY_CNT)] = {0}; - long rel_bitmask[NLONGS(REL_CNT)] = {0}; - long abs_bitmask[NLONGS(ABS_CNT)] = {0}; - long led_bitmask[NLONGS(LED_CNT)] = {0}; + unsigned long bitmask[NLONGS(EV_CNT)] = {0}; + unsigned long key_bitmask[NLONGS(KEY_CNT)] = {0}; + unsigned long rel_bitmask[NLONGS(REL_CNT)] = {0}; + unsigned long abs_bitmask[NLONGS(ABS_CNT)] = {0}; + unsigned long led_bitmask[NLONGS(LED_CNT)] = {0}; struct input_absinfo absinfo[ABS_CNT]; if (ioctl(pInfo->fd, diff --git a/src/evdev.h b/src/evdev.h index ba3de68..68380cf 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -141,11 +141,11 @@ typedef struct { /* Cached info from device. */ char name[1024]; - long bitmask[NLONGS(EV_CNT)]; - long key_bitmask[NLONGS(KEY_CNT)]; - long rel_bitmask[NLONGS(REL_CNT)]; - long abs_bitmask[NLONGS(ABS_CNT)]; - long led_bitmask[NLONGS(LED_CNT)]; + unsigned long bitmask[NLONGS(EV_CNT)]; + unsigned long key_bitmask[NLONGS(KEY_CNT)]; + unsigned long rel_bitmask[NLONGS(REL_CNT)]; + unsigned long abs_bitmask[NLONGS(ABS_CNT)]; + unsigned long led_bitmask[NLONGS(LED_CNT)]; struct input_absinfo absinfo[ABS_CNT]; /* minor/major number */ |