diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch index 06cafa72..5769d555 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 329c8ab2770ab34d887296a35585fac53c8bedb7 Mon Sep 17 00:00:00 2001 | 1 | From 018249d180705657efbecdce3736c9a415412762 Mon Sep 17 00:00:00 2001 |
2 | From: Meng Li <Meng.Li@windriver.com> | 2 | From: Meng Li <Meng.Li@windriver.com> |
3 | Date: Wed, 5 Jun 2024 18:54:22 +0800 | 3 | Date: Tue, 9 Jul 2024 14:35:06 +0800 |
4 | Subject: [PATCH] FMCCFGReader: improve parameter definition of function | 4 | Subject: [PATCH] FMCCFGReader: improve parameter definition of function |
5 | errorFuncHandler | 5 | errorFuncHandler |
6 | 6 | ||
7 | When building fmc package, there is below error: | 7 | When building fmc package, there is below error: |
@@ -30,27 +30,27 @@ index a1a87a4..c11742c 100644 | |||
30 | --- a/source/FMCGenericError.cpp | 30 | --- a/source/FMCGenericError.cpp |
31 | +++ b/source/FMCGenericError.cpp | 31 | +++ b/source/FMCGenericError.cpp |
32 | @@ -33,7 +33,7 @@ | 32 | @@ -33,7 +33,7 @@ |
33 | #include "FMCUtils.h" | 33 | #include "FMCUtils.h" |
34 | #include "logger.hpp" | 34 | #include "logger.hpp" |
35 | 35 | ||
36 | -void errorFuncHandler( void * ctx, xmlErrorPtr error ) | 36 | -void errorFuncHandler( void * ctx, xmlErrorPtr error ) |
37 | +void errorFuncHandler( void * ctx, const xmlError *error ) | 37 | +void errorFuncHandler( void * ctx, const xmlError *error ) |
38 | { | 38 | { |
39 | char *filestr = (char*)""; | 39 | char *filestr = (char*)""; |
40 | char *msgstr = (char*)""; | 40 | char *msgstr = (char*)""; |
41 | diff --git a/source/FMCGenericError.h b/source/FMCGenericError.h | 41 | diff --git a/source/FMCGenericError.h b/source/FMCGenericError.h |
42 | index 504a81b..61ab6c1 100644 | 42 | index 504a81b..61ab6c1 100644 |
43 | --- a/source/FMCGenericError.h | 43 | --- a/source/FMCGenericError.h |
44 | +++ b/source/FMCGenericError.h | 44 | +++ b/source/FMCGenericError.h |
45 | @@ -35,7 +35,7 @@ | 45 | @@ -35,7 +35,7 @@ |
46 | 46 | ||
47 | const int NO_LINE = -1; | 47 | const int NO_LINE = -1; |
48 | 48 | ||
49 | -void errorFuncHandler( void * ctx, xmlErrorPtr error ); | 49 | -void errorFuncHandler( void * ctx, xmlErrorPtr error ); |
50 | +void errorFuncHandler( void * ctx, const xmlError *error ); | 50 | +void errorFuncHandler( void * ctx, const xmlError *error ); |
51 | 51 | ||
52 | 52 | ||
53 | class CGenericError { | 53 | class CGenericError { |
54 | -- | 54 | -- |
55 | 2.34.1 | 55 | 2.34.1 |
56 | 56 | ||