summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
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 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;