From 67740263e9a3de840e527dd45ba3d6feff512839 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 2 Dec 2010 20:09:59 +0100 Subject: [PATCH] gobject: Cast token type to guint to avoid gcc warning The usual fix for all things GScanner... --- gobject/glib-genmarshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/glib-genmarshal.c b/gobject/glib-genmarshal.c index e382fdc..2f7ae86 100644 --- a/gobject/glib-genmarshal.c +++ b/gobject/glib-genmarshal.c @@ -690,7 +690,7 @@ main (int argc, { guint expected_token = G_TOKEN_NONE; - switch (g_scanner_peek_next_token (scanner)) + switch ((guint) g_scanner_peek_next_token (scanner)) { case '\n': /* eat newline and restart */ -- 2.7.4