diff options
Diffstat (limited to 'meta-oe/recipes-devtools/ltrace/ltrace/0001-Use-correct-enum-type.patch')
-rw-r--r-- | meta-oe/recipes-devtools/ltrace/ltrace/0001-Use-correct-enum-type.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-Use-correct-enum-type.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-Use-correct-enum-type.patch new file mode 100644 index 000000000..01a35842c --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace/0001-Use-correct-enum-type.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From df490528d1e81a98ba2991c700c92a8e6c969083 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 6 Mar 2017 21:32:22 -0800 | ||
4 | Subject: [PATCH 1/2] Use correct enum type | ||
5 | |||
6 | Clang warns about wrong enum initializtion | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | sysdeps/linux-gnu/aarch64/fetch.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/sysdeps/linux-gnu/aarch64/fetch.c b/sysdeps/linux-gnu/aarch64/fetch.c | ||
14 | index 2744df0..1dcf7cc 100644 | ||
15 | --- a/sysdeps/linux-gnu/aarch64/fetch.c | ||
16 | +++ b/sysdeps/linux-gnu/aarch64/fetch.c | ||
17 | @@ -173,7 +173,7 @@ static struct fetch_script | ||
18 | pass_arg(struct fetch_context const *context, | ||
19 | struct process *proc, struct arg_type_info *info) | ||
20 | { | ||
21 | - enum fetch_method cvt = CVT_NOP; | ||
22 | + enum convert_method cvt = CVT_NOP; | ||
23 | |||
24 | size_t sz = type_sizeof(proc, info); | ||
25 | if (sz == (size_t) -1) | ||
26 | -- | ||
27 | 2.12.0 | ||
28 | |||