(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
authortruelight
Sun, 20 Aug 2006 17:22:03 +0000
changeset 4325 0391bcb7cad0
parent 4324 9682c016b892
child 4326 2e2c9d21ed96
(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
console.c
--- a/console.c	Sun Aug 20 13:48:04 2006 +0000
+++ b/console.c	Sun Aug 20 17:22:03 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, (int)strlen(src));
+	int len = min(ICON_MAX_STREAMSIZE - bufpos, (uint)strlen(src));
 	strncpy(dst, src, len);
 
 	return len;