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/procmime.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/procmime.c')
-rw-r--r-- | src/procmime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/procmime.c b/src/procmime.c index 5f067e68..dd576bb6 100644 --- a/src/procmime.c +++ b/src/procmime.c @@ -1047,7 +1047,7 @@ static GList *procmime_get_mime_type_list(const gchar *file) GList *list = NULL; FILE *fp; gchar buf[BUFFSIZE]; - guchar *p; + gchar *p; gchar *delim; MimeType *mime_type; @@ -1061,7 +1061,7 @@ static GList *procmime_get_mime_type_list(const gchar *file) g_strstrip(buf); p = buf; - while (*p && !isspace(*p)) p++; + while (*p && !g_ascii_isspace(*p)) p++; if (*p) { *p = '\0'; p++; @@ -1074,7 +1074,7 @@ static GList *procmime_get_mime_type_list(const gchar *file) mime_type->type = g_strdup(buf); mime_type->sub_type = g_strdup(delim + 1); - while (*p && isspace(*p)) p++; + while (*p && g_ascii_isspace(*p)) p++; if (*p) mime_type->extension = g_strdup(p); else |