diff options
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-search.c | 4 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-search.c b/camel/providers/imap/camel-imap-search.c index 0c8816e10c..8f65def872 100644 --- a/camel/providers/imap/camel-imap-search.c +++ b/camel/providers/imap/camel-imap-search.c @@ -480,13 +480,13 @@ imap_body_contains (struct _ESExp *f, int argc, struct _ESExpResult **argv, Came info = s->summary->pdata[i]; uid = (char *)camel_message_info_uid(info); uidn = strtoul(uid, NULL, 10); - g_hash_table_insert(uid_hash, (void *)uidn, uid); + g_hash_table_insert(uid_hash, GUINT_TO_POINTER(uidn), uid); } uidp = (guint32 *)mr->matches->data; j = mr->matches->len; for (i=0;i<j && !truth;i++) { - uid = g_hash_table_lookup(uid_hash, (void *)*uidp++); + uid = g_hash_table_lookup(uid_hash, GUINT_TO_POINTER(*uidp++)); if (uid) g_ptr_array_add(array, uid); } diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index 61c27cb7a9..91b88a7ec4 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -735,7 +735,7 @@ parse_params (const char **parms_p, CamelContentType *type) { const char *parms = *parms_p; char *name, *value; - int len; + size_t len; if (!strncasecmp (parms, "nil", 3)) { *parms_p += 3; @@ -777,7 +777,7 @@ imap_body_decode (const char **in, CamelMessageContentInfo *ci, CamelFolder *fol CamelContentType *ctype = NULL; char *description = NULL; char *encoding = NULL; - unsigned int len; + size_t len; size_t size; char *p; |