tComparison between unsigned and signed removed to placate gcc -Wsign-compare - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f273079801ae34b77061dec4ea6eb50f3497d44b
(DIR) parent 6cddcefbbd6e28992a15537f9603ebeda12996f7
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Tue, 26 Feb 2002 16:10:54 +0000
Comparison between unsigned and signed removed to placate gcc -Wsign-compare
Diffstat:
M src/gui_client/gtk_client.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c
t@@ -1755,8 +1755,8 @@ void QuestionDialog(char *Data, Player *From)
gchar *Words[] = { N_("_Yes"), N_("_No"), N_("_Run"),
N_("_Fight"), N_("_Attack"), N_("_Evade")
};
- gint numWords = sizeof(Words) / sizeof(Words[0]);
- gint i, j;
+ guint numWords = sizeof(Words) / sizeof(Words[0]);
+ guint i, j;
split = g_strsplit(Data, "^", 1);
if (!split[0] || !split[1]) {