summaryrefslogtreecommitdiff
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
commit5e4667624e5093ea2b83bcdf63d836d1a34d46bc (patch)
tree481562e4b596b3e187ae20a522e8f1a439bcc1be
parentf73b17323eefc9f8b3c2e992d57ed5f631bf72f6 (diff)
downloadopenttd-5e4667624e5093ea2b83bcdf63d836d1a34d46bc.tar.xz
(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
-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;