diff options
author | truelight <truelight@openttd.org> | 2006-08-20 17:22:03 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-20 17:22:03 +0000 |
commit | 5e4667624e5093ea2b83bcdf63d836d1a34d46bc (patch) | |
tree | 481562e4b596b3e187ae20a522e8f1a439bcc1be | |
parent | f73b17323eefc9f8b3c2e992d57ed5f631bf72f6 (diff) | |
download | openttd-5e4667624e5093ea2b83bcdf63d836d1a34d46bc.tar.xz |
(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
-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, (int)strlen(src)); + int len = min(ICON_MAX_STREAMSIZE - bufpos, (uint)strlen(src)); strncpy(dst, src, len); return len; |