forked from mirror/OpenTTD
(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user