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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user