1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 10:10:40 +03:00

resolve string format issue found by coverity

This commit is contained in:
Ilya Shipitsin 2018-08-05 15:56:03 +05:00
parent 4b08ce9172
commit e795b5014d

View File

@ -875,7 +875,7 @@ void GetCallStackStr(char *str, UINT size, CALLSTACK_DATA *s)
if (s->name == NULL) if (s->name == NULL)
{ {
Format(tmp, sizeof(tmp), "0x%p ---", UINT64_TO_POINTER(s->offset)); Format(tmp, sizeof(tmp), "0x%02x ---", UINT64_TO_POINTER(s->offset));
} }
else else
{ {