[PATCH] scanner: Use unit32_t instead of uint

Khem Raj raj.khem at gmail.com
Mon Jul 18 06:35:10 UTC 2016


On Sun, Jul 17, 2016 at 3:36 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> On Fri, Jul 15, 2016 at 04:23:48PM -0700, Khem Raj wrote:
>> uint32_t is C99 defined stdint type
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>
> subject line says unit32_t :)

ah a typo. Can we git commit amend before applying ?
or do we need a v2

>
> Cheers,
>    Peter
>
>> ---
>>  src/scanner.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> 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] == '.') {
>> --
>> 2.9.0


More information about the wayland-devel mailing list