Fixed LGTM formatting alert (#3987)

This commit is contained in:
Sean Allen
2019-03-18 07:02:25 +08:00
committed by Lemongrass3110
parent 232b3885b5
commit bf27041e7b
5 changed files with 9 additions and 9 deletions

View File

@@ -70,14 +70,14 @@ void ShowDump(const void* buffer, size_t length)
if( (i%16) == 15 )
{
ShowDebug("%03X %s %s\n", i/16, hex, ascii);
ShowDebug("%03" PRIXPTR " %s %s\n", i/16, hex, ascii);
}
}
if( (i%16) != 0 )
{
ascii[i%16] = 0;
ShowDebug("%03X %-48s %-16s\n", i/16, hex, ascii);
ShowDebug("%03" PRIXPTR " %-48s %-16s\n", i/16, hex, ascii);
}
}