mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +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;
|
guint expected_token = G_TOKEN_NONE;
|
||||||
|
|
||||||
switch (g_scanner_peek_next_token (scanner))
|
switch ((guint) g_scanner_peek_next_token (scanner))
|
||||||
{
|
{
|
||||||
case '\n':
|
case '\n':
|
||||||
/* eat newline and restart */
|
/* eat newline and restart */
|
||||||
|
Loading…
Reference in New Issue
Block a user