From 5fb6c9e1cc073ad96d62efc423e87d79d38d435a Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 20 Aug 2006 12:09:32 +0000 Subject: (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc) --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console.c') 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; -- cgit v1.2.3-54-g00ecf