From fc0270d6f671c67b552c1f6508b3b8bf091945fa Mon Sep 17 00:00:00 2001
From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Sun, 7 Mar 2004 08:15:17 +0000
Subject: [PATCH] fix two signed/unsigned comparison warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3979 d7cf8633-e32d-0410-b094-e92efae38249
---
 menu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/menu.c b/menu.c
index 4c603d21..d7c30033 100644
--- a/menu.c
+++ b/menu.c
@@ -2015,7 +2015,7 @@ void M_FindKeysForCommand (char *command, int *keys)
 
 	count = 0;
 
-	for (j = 0; j < sizeof (keybindings[0]) / sizeof (keybindings[0][0]); j++)
+	for (j = 0; j < (int)sizeof (keybindings[0]) / (int)sizeof (keybindings[0][0]); j++)
 	{
 		b = keybindings[0][j];
 		if (!b)
@@ -2034,7 +2034,7 @@ void M_UnbindCommand (char *command)
 	int		j;
 	char	*b;
 
-	for (j = 0; j < sizeof (keybindings[0]) / sizeof (keybindings[0][0]); j++)
+	for (j = 0; j < (int)sizeof (keybindings[0]) / (int)sizeof (keybindings[0][0]); j++)
 	{
 		b = keybindings[0][j];
 		if (!b)
-- 
2.39.5