--- src/scanner.c.orig 2016-06-01 07:24:27.293294492 +0200 +++ src/scanner.c 2016-06-01 07:25:01.861658088 +0200 @@ -808,7 +808,7 @@ find_enumeration(struct protocol *protoc struct interface *i; struct enumeration *e; char *enum_name; - uint idx = 0, j; + unsigned int idx = 0, j; for (j = 0; j + 1 < strlen(enum_attribute); j++) { if (enum_attribute[j] == '.') {