gobject: Cast token type to guint to avoid gcc warning

The usual fix for all things GScanner...
This commit is contained in:
Benjamin Otte 2010-12-02 20:09:59 +01:00
parent b9a98a81da
commit 67740263e9

View File

@ -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 */