Mercurial > hg > openttd
changeset 4325:06559d8dfdcc draft
(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
author | truelight <truelight@openttd.org> |
---|---|
date | Sun, 20 Aug 2006 17:22:03 +0000 |
parents | 79b2bec2c27a |
children | 81a3d560c885 |
files | console.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/console.c +++ b/console.c @@ -680,7 +680,7 @@ /** 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;