summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-11-01 12:44:55 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2022-11-08 01:04:25 +0100
commit50fc0945b6448903c0b696d373b004881ed37e1e (patch)
treef4ef9e68fa51519efb4b0d081a9288bdaa166010 /docs/devel/secure-coding-practices.rst
parent04849c94fe50ce6fc621933eda2321dc6a3280a1 (diff)
downloadfocaccia-qemu-50fc0945b6448903c0b696d373b004881ed37e1e.tar.gz
focaccia-qemu-50fc0945b6448903c0b696d373b004881ed37e1e.zip
disas/nanomips: Fix invalid PRIx64 format calling img_format()
Fix:

  disas/nanomips.c:12231:62: warning: format specifies type 'char *' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat]
    return img_format("RESTOREF 0x%" PRIx64 ", %s", u_value, count_value);
                                               ~~            ^~~~~~~~~~~
                                               %llu

Fixes: 4066c152b3 ("disas/nanomips: Remove IMMEDIATE functions")
Reported-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221101114458.25756-3-philmd@linaro.org>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions