diff --git a/Source/exehead/util.c b/Source/exehead/util.c index 5f5e46a1..c49c5dfb 100644 --- a/Source/exehead/util.c +++ b/Source/exehead/util.c @@ -500,7 +500,8 @@ void NSISCALL myRegGetStr(HKEY root, const char *sub, const char *name, char *ou void NSISCALL myitoa(char *s, int d) { - wsprintf(s,"%d",d); + static const char c[] = "%d"; + wsprintf(s,c,d); } int NSISCALL myatoi(char *s)