From 0255c1414d6151a839ff372cc6551c3e3d3f5437 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 16 Dec 2003 16:32:02 +0000 Subject: [PATCH] signed/unsigned mismatch git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3285 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 05d1bd7f..4b13b0cc 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2500,7 +2500,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) { WIN32_FIND_DATA fd; char *f = line.gettoken_str(1); - int malloced = sizeof(fd.cFileName) + strlen(f) + 1; + unsigned int malloced = sizeof(fd.cFileName) + strlen(f) + 1; char *incfile = (char *) malloc(malloced); int included = 0;