cast warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5054 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a0cbd0a09c
commit
480be96fcd
1 changed files with 4 additions and 4 deletions
|
@ -441,16 +441,16 @@ int CEXEBuild::preprocess_string(char *out, const char *in, WORD codepage/*=CP_A
|
||||||
int l = np - p;
|
int l = np - p;
|
||||||
while (l--)
|
while (l--)
|
||||||
{
|
{
|
||||||
int i = (unsigned char)*p++;
|
unsigned char i = (unsigned char)*p++;
|
||||||
if (i >= NS_CODES_START) {
|
if (i >= NS_CODES_START) {
|
||||||
*out++ = (char)NS_SKIP_CODE;
|
*out++ = (char)NS_SKIP_CODE;
|
||||||
}
|
}
|
||||||
*out++=i;
|
*out++=(char)i;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int i = (unsigned char)*p;
|
unsigned char i = (unsigned char)*p;
|
||||||
|
|
||||||
p=np;
|
p=np;
|
||||||
|
|
||||||
|
@ -579,7 +579,7 @@ int CEXEBuild::preprocess_string(char *out, const char *in, WORD codepage/*=CP_A
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*out++=i;
|
*out++=(char)i;
|
||||||
}
|
}
|
||||||
*out=0;
|
*out=0;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue