aboutsummaryrefslogtreecommitdiff
path: root/src/procmsg.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-02 08:24:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-02 08:24:31 +0000
commit3ca4175052e8a6c26a6cc93501e92a4436cad3df (patch)
treecd8c6b5f88ff65d5e74c27638eaaf4ec13572828 /src/procmsg.c
parente059bc94965dd6cb4afcff3d5efceec32a98a5a0 (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/procmsg.c')
-rw-r--r--src/procmsg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/procmsg.c b/src/procmsg.c
index 8f30ab11..fb7c0fd4 100644
--- a/src/procmsg.c
+++ b/src/procmsg.c
@@ -1171,14 +1171,14 @@ void procmsg_get_filter_keyword(MsgInfo *msginfo, gchar **header, gchar **key,
} else if (hentry[H_X_MAILING_LIST].body != NULL) {
SET_FILTER_KEY("X-Mailing-list", H_X_MAILING_LIST);
} else if (hentry[H_X_SEQUENCE].body != NULL) {
- guchar *p;
+ gchar *p;
SET_FILTER_KEY("X-Sequence", H_X_SEQUENCE);
p = *key;
while (*p != '\0') {
- while (*p != '\0' && !isspace(*p)) p++;
- while (isspace(*p)) p++;
- if (isdigit(*p)) {
+ while (*p != '\0' && !g_ascii_isspace(*p)) p++;
+ while (g_ascii_isspace(*p)) p++;
+ if (g_ascii_isdigit(*p)) {
*p = '\0';
break;
}