(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)

This commit is contained in:
truelight
2006-08-20 12:09:32 +00:00
parent b83703b215
commit 5fb6c9e1cc
11 changed files with 14 additions and 14 deletions

View File

@@ -680,7 +680,7 @@ IConsoleAlias *IConsoleAliasGet(const char *name)
/** copy in an argument into the aliasstream */
static inline int IConsoleCopyInParams(char *dst, const char *src, uint bufpos)
{
int len = min(ICON_MAX_STREAMSIZE - bufpos, strlen(src));
int len = min(ICON_MAX_STREAMSIZE - bufpos, (int)strlen(src));
strncpy(dst, src, len);
return len;