console.c
changeset 4321 958a8e9c012b
parent 4299 91f5d2bedcff
child 4325 0391bcb7cad0
--- a/console.c	Sun Aug 20 12:07:27 2006 +0000
+++ b/console.c	Sun Aug 20 12:09:32 2006 +0000
@@ -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, strlen(src));
+	int len = min(ICON_MAX_STREAMSIZE - bufpos, (int)strlen(src));
 	strncpy(dst, src, len);
 
 	return len;