mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
Changed: Use toString instead of sprintf
--HG-- branch : develop
This commit is contained in:
parent
f57b1b9421
commit
09e22e292d
2 changed files with 6 additions and 7 deletions
|
@ -715,7 +715,8 @@ public:
|
|||
{
|
||||
str = "<NoModule>";
|
||||
}
|
||||
str += toString("!0x%X", addr);
|
||||
|
||||
str += toString("!0x%p", (void*)addr);
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -740,9 +741,8 @@ public:
|
|||
{
|
||||
str = "<NoModule>";
|
||||
}
|
||||
char tmp[32];
|
||||
sprintf (tmp, "!0x%p", addr);
|
||||
str += tmp;
|
||||
|
||||
str += toString("!0x%p", (void*)addr);
|
||||
//}
|
||||
str +=" DEBUG:"+toString("0x%p", addr);
|
||||
|
||||
|
|
|
@ -138,9 +138,8 @@ static string getSourceInfo (DWORD_TYPE addr)
|
|||
{
|
||||
str = "<NoModule>";
|
||||
}
|
||||
char tmp[32];
|
||||
sprintf (tmp, "!0x%X", addr);
|
||||
str += tmp;
|
||||
|
||||
str += toString("!0x%p", (void*)addr);
|
||||
}
|
||||
|
||||
return str;
|
||||
|
|
Loading…
Reference in a new issue