diff options
author | truelight <truelight@openttd.org> | 2006-08-20 12:09:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-20 12:09:32 +0000 |
commit | 5fb6c9e1cc073ad96d62efc423e87d79d38d435a (patch) | |
tree | 8ea819b5d596c612f5f825b3e4881663c4af5722 /console.c | |
parent | b83703b215bec2b7a6147a6b4a7ec60832da5230 (diff) | |
download | openttd-5fb6c9e1cc073ad96d62efc423e87d79d38d435a.tar.xz |
(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |