Recommit gcc-4 tweaks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-07-08 11:48:37 +00:00
parent ed1f525f36
commit f843cb8155
53 changed files with 466 additions and 322 deletions

View file

@ -1031,7 +1031,8 @@ int encode_cstrtoustr(unichar *dst, int dl, const char *src, int sl,
BOOL result;
unsigned int old = dl;
result = GSToUnicode(&dst, &dl, src, sl, enc, 0, 0);
result = GSToUnicode(&dst, (unsigned int*)&dl, (unsigned char*)src,
sl, enc, 0, 0);
if (result == NO)
{
return 0;