diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-02 08:24:31 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-02 08:24:31 +0000 |
commit | 3ca4175052e8a6c26a6cc93501e92a4436cad3df (patch) | |
tree | cd8c6b5f88ff65d5e74c27638eaaf4ec13572828 /src/xml.c | |
parent | e059bc94965dd6cb4afcff3d5efceec32a98a5a0 (diff) |
fixed gcc-4.0 warnings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@457 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -189,7 +189,7 @@ gint xml_get_dtd(XMLFile *file) gint xml_parse_next_tag(XMLFile *file) { gchar buf[XMLBUFSIZE]; - guchar *bufp = buf; + gchar *bufp = buf; gchar *tag_str; XMLTag *tag; gint len; @@ -229,7 +229,7 @@ gint xml_parse_next_tag(XMLFile *file) return -1; } - while (*bufp != '\0' && !isspace(*bufp)) bufp++; + while (*bufp != '\0' && !g_ascii_isspace(*bufp)) bufp++; if (*bufp == '\0') { tag_str = conv_codeset_strdup(buf, file->encoding, CS_INTERNAL); if (tag_str) { @@ -258,7 +258,7 @@ gint xml_parse_next_tag(XMLFile *file) gchar *p; gchar quote; - while (isspace(*bufp)) bufp++; + while (g_ascii_isspace(*bufp)) bufp++; attr_name = bufp; if ((p = strchr(attr_name, '=')) == NULL) { g_warning("xml_parse_next_tag(): Syntax error in tag\n"); @@ -266,7 +266,7 @@ gint xml_parse_next_tag(XMLFile *file) } bufp = p; *bufp++ = '\0'; - while (isspace(*bufp)) bufp++; + while (g_ascii_isspace(*bufp)) bufp++; if (*bufp != '"' && *bufp != '\'') { g_warning("xml_parse_next_tag(): Syntax error in tag\n"); |