CPPCHECK fixes for printf issues

Fix for following CPPCheck warnings
- invalidPrintfArgType
Rebased with latest develop branch w21.
Reverted modifications unrelated to printf issues.
This commit is contained in:
Vijay Chadachan
2023-06-01 12:07:26 +02:00
committed by TheoniJ
parent 0e64165093
commit 836469e849
83 changed files with 687 additions and 688 deletions
@@ -1329,7 +1329,7 @@ static uint32_t _nas_message_get_mac(
fprintf(stderr, "\n[NAS]\t");
for (i=0; i < length; i++) {
fprintf(stderr, "%.2hx ", (const unsigned char) buffer[i]);
fprintf(stderr, "%.2hhx ", (const unsigned char) buffer[i]);
/* Add new line when the number of displayed bytes exceeds
* the line's size */