scanner: Use uint32_t instead of uint
authorKhem Raj <raj.khem@gmail.com>
Fri, 15 Jul 2016 23:23:48 +0000 (16:23 -0700)
committerDaniel Stone <daniels@collabora.com>
Mon, 18 Jul 2016 10:12:56 +0000 (11:12 +0100)
uint32_t is C99 defined stdint type

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/scanner.c

index 6e2c3a3..ebae4cc 100644 (file)
@@ -819,7 +819,7 @@ find_enumeration(struct protocol *protocol,
        struct interface *i;
        struct enumeration *e;
        char *enum_name;
-       uint idx = 0, j;
+       uint32_t idx = 0, j;
 
        for (j = 0; j + 1 < strlen(enum_attribute); j++) {
                if (enum_attribute[j] == '.') {