[PATCH 3/7] evdev: var_assign: EvdevCacheCompare: NEGATIVE return value of "ioctl" assigned to unsigned variable "len"
Oliver McFadden
oliver.mcfadden at nokia.com
Mon Apr 19 21:11:18 PDT 2010
Signed-off-by: Oliver McFadden <oliver.mcfadden at nokia.com>
---
src/evdev.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index aae9b23..9fe952e 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1631,8 +1631,7 @@ static int
EvdevCacheCompare(InputInfoPtr pInfo, BOOL compare)
{
EvdevPtr pEvdev = pInfo->private;
- size_t len;
- int i;
+ int i, len;
char name[1024] = {0};
unsigned long bitmask[NLONGS(EV_CNT)] = {0};
--
1.6.1
More information about the xorg-devel
mailing list