Fixed type cast warnings.

This commit is contained in:
crs 2004-05-01 08:54:42 +00:00
parent 54b3884eba
commit 4d2d4a2171
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
#include "CArch.h" #include "CArch.h"
#include <limits.h> #include <limits.h>
#include <string.h> #include <string.h>
#if HAVE_WCHAR_H #if HAVE_WCHAR_H || defined(_MSC_VER)
# include <wchar.h> # include <wchar.h>
#elif __APPLE__ #elif __APPLE__
// wtf? Darwin puts mbtowc() et al. in stdlib // wtf? Darwin puts mbtowc() et al. in stdlib
@ -112,7 +112,7 @@ ARCH_STRING::convStringWCToMB(char* dst,
} }
ARCH->unlockMutex(s_mutex); ARCH->unlockMutex(s_mutex);
return (ssize_t)len; return len;
} }
int int
@ -201,7 +201,7 @@ ARCH_STRING::convStringMBToWC(wchar_t* dst,
} }
ARCH->unlockMutex(s_mutex); ARCH->unlockMutex(s_mutex);
return (ssize_t)len; return len;
} }
#endif #endif