diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-07-15 16:23:48 -0700 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2016-07-18 11:12:56 +0100 |
| commit | 6750b47d9e0d3074d2e56aa36c476493f533d696 (patch) | |
| tree | afb48de896856441d0881764e9e2c71cc5cb4b26 | |
| parent | scanner: Improve documentation for strtouint() (diff) | |
| download | wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.tar wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.tar.gz wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.tar.bz2 wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.tar.lz wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.tar.xz wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.tar.zst wayland-6750b47d9e0d3074d2e56aa36c476493f533d696.zip | |
scanner: Use uint32_t instead of uint
uint32_t is C99 defined stdint type
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
| -rw-r--r-- | src/scanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.c b/src/scanner.c index 6e2c3a3..ebae4cc 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -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] == '.') { |
