Fixed error in sign of variable

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25975 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-01-18 16:04:41 +00:00
parent 4788e68beb
commit ec105d12c3

View file

@ -2177,7 +2177,7 @@ GSBreakTime(NSTimeInterval when, int *year, int *month, int *day,
if (cSubKeys && (retCode == ERROR_SUCCESS)) if (cSubKeys && (retCode == ERROR_SUCCESS))
{ {
int wLen = [name length]; unsigned wLen = [name length];
wchar_t *wName = malloc((wLen+1) * sizeof(wchar_t)); wchar_t *wName = malloc((wLen+1) * sizeof(wchar_t));
if (wName) if (wName)