summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 17:22:03 +0000
committertruelight <truelight@openttd.org>2006-08-20 17:22:03 +0000
commita87a2c26ec50bb4de1c1142259e667d2a831968f (patch)
tree481562e4b596b3e187ae20a522e8f1a439bcc1be /console.c
parentc42942e515bb6677e87d8979949e98bc9c900483 (diff)
downloadopenttd-a87a2c26ec50bb4de1c1142259e667d2a831968f.tar.xz
(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
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 5c7eadf93..aec3a4017 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, (int)strlen(src));
+ int len = min(ICON_MAX_STREAMSIZE - bufpos, (uint)strlen(src));
strncpy(dst, src, len);
return len;