diff options
Diffstat (limited to 'meta/recipes-graphics/wayland/wayland/0001-scanner-Use-unit32_t-instead-of-uint.patch')
-rw-r--r-- | meta/recipes-graphics/wayland/wayland/0001-scanner-Use-unit32_t-instead-of-uint.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/wayland/0001-scanner-Use-unit32_t-instead-of-uint.patch b/meta/recipes-graphics/wayland/wayland/0001-scanner-Use-unit32_t-instead-of-uint.patch new file mode 100644 index 0000000000..dece95c764 --- /dev/null +++ b/meta/recipes-graphics/wayland/wayland/0001-scanner-Use-unit32_t-instead-of-uint.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 5516d32e694badca35b6c71b02a3f08f650308bf Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 15 Jul 2016 16:23:48 -0700 | ||
4 | Subject: [PATCH] scanner: Use unit32_t instead of uint | ||
5 | |||
6 | uint32_t is C99 defined stdint type | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
10 | Upstream-Status: Submitted | ||
11 | --- | ||
12 | src/scanner.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/scanner.c b/src/scanner.c | ||
16 | index 5f06e8e..10a4023 100644 | ||
17 | --- a/src/scanner.c | ||
18 | +++ b/src/scanner.c | ||
19 | @@ -808,7 +808,7 @@ find_enumeration(struct protocol *protocol, | ||
20 | struct interface *i; | ||
21 | struct enumeration *e; | ||
22 | char *enum_name; | ||
23 | - uint idx = 0, j; | ||
24 | + uint32_t idx = 0, j; | ||
25 | |||
26 | for (j = 0; j + 1 < strlen(enum_attribute); j++) { | ||
27 | if (enum_attribute[j] == '.') { | ||
28 | -- | ||
29 | 2.1.4 | ||
30 | |||