mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
gobject: Cast token type to guint to avoid gcc warning
The usual fix for all things GScanner...
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user