[geany/geany-plugins] 67fbfb: geanygendoc: Hide a harmless GCC warning

Colomban Wendling git-noreply at xxxxx
Thu Feb 20 14:56:22 UTC 2014

Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 20 Feb 2014 14:56:22 UTC
Commit:      67fbfbfc6ba71c84890cdcf6f969830986ea747e

Log Message:
geanygendoc: Hide a harmless GCC warning

GTokenType don't have named constants for every possible character, so
GCC will warn for byte values not explicitly part of that enumeration,
even though it has a gap designed for any byte to be valid.

Modified Paths:

Modified: geanygendoc/src/ggd-file-type-loader.c
2 files changed, 1 insertions(+), 1 deletions(-)
@@ -408,7 +408,7 @@
         identifier = g_strdup (scanner->value.v_identifier);
         /*g_debug ("identifier is %s", identifier);*/
-        switch (g_scanner_get_next_token (scanner)) {
+        switch ((guint) g_scanner_get_next_token (scanner)) {
           case '.': /* skip it */ break;
           case G_TOKEN_EQUAL_SIGN:

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Plugins-Commits mailing list