mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gobject: Cast token type to guint to avoid gcc warning
The usual fix for all things GScanner...
This commit is contained in:
parent
b9a98a81da
commit
67740263e9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user