From 66620388fe8d03903933d085f8c4da9cee6fa3af Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 2 Feb 2014 00:37:50 +0000 Subject: [PATCH] fix gcc warning git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6435 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/script.cpp b/Source/script.cpp index 6f5a4310..2ffb4e76 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -715,7 +715,7 @@ void CEXEBuild::ps_addtoline(const TCHAR *str, GrowBuf &linedata, StringList &hi if (_T('U')==s[0] && _T('+')==s[1]) { TCHAR *n=s+2; - unsigned long utf32=_tcstoul(n,&t,16); + UINT32 utf32=_tcstoul(n,&t,16); // We only want to accept "${U+HEXDIGITS}" and not "${U+ -HEXDIGITS }" if (*t || _T('-')==*n || _T('+')==*n) t=0; if (_T(' ')==*n || _T('\t')==*n) t=0; // TODO: _istspace()?