]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
size vs. int warning fix
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Feb 2010 06:34:00 +0000 (06:34 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Feb 2010 06:34:00 +0000 (06:34 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9913 d7cf8633-e32d-0410-b094-e92efae38249

menu.c

diff --git a/menu.c b/menu.c
index 4cc1f19d1720c68640571f47b70803236103a85d..5958dcbf88da0eac127dcb129373a6a836bc2cc2 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -817,7 +817,8 @@ static int          loadable[MAX_SAVEGAMES];
 
 static void M_ScanSaves (void)
 {
-       int             i, j, len;
+       int             i, j;
+       size_t  len;
        char    name[MAX_OSPATH];
        char    buf[SAVEGAME_COMMENT_LENGTH + 256];
        const char *t;