mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 15:18:55 +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;
|
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 */
|
||||||
|
Reference in New Issue
Block a user