From 615ad474cbfbbc603dbfd3bd11078e6c2c06c965 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 7 Mar 2006 14:11:18 +0000 Subject: [PATCH] size optimization git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4554 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)