diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2022-11-30 15:18:02 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 13:45:54 +0000 |
commit | 046f3b65d62681a4c5d72e32b8906f3415c2f22b (patch) | |
tree | 2d5ea63ae271a5caa3b6e9350c51bcf4849aa284 /test13-undef.c | |
parent | 9c7daeff8bf4779710e61dfd060e99b7ea19b564 (diff) |
tests: Fix format string using PRIx32 definition
test7.c: In function 'svc':
test7.c:105:29: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
105 | testDiag("New xPSR %x", sframe[7]);
| ~^ ~~~~~~~~~
| | |
| | uint32_t {aka long unsigned int}
| unsigned int
| %lx
Using gcc version 12.2.0 (Arm GNU Toolchain 12.2.MPACBTI-Bet1 (Build arm-12-mpacbti.16))
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'test13-undef.c')
0 files changed, 0 insertions, 0 deletions