summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 12:09:32 +0000
committertruelight <truelight@openttd.org>2006-08-20 12:09:32 +0000
commit73cd71db04836405a398fb946fb3a5e6345fb2e4 (patch)
tree8ea819b5d596c612f5f825b3e4881663c4af5722 /console.c
parentbd7fabb647f5680136f8c7fa6e8c95d064f5c62c (diff)
downloadopenttd-73cd71db04836405a398fb946fb3a5e6345fb2e4.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index 6dbbe803d..5c7eadf93 100644
--- a/console.c
+++ b/console.c
@@ -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;