aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-search.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-12-24 08:51:54 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-12-24 08:51:54 +0800
commitd5b5b5f0979f0819561fbec36a417a6dcfc3d4d5 (patch)
tree9a4c73c9426b817b92e6f9f66237632459eb0be6 /camel/providers/imap/camel-imap-search.c
parent6de256c2a2b23f30d35e4a2213ad5839bf141d06 (diff)
downloadgsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.gz
gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.zst
gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.zip
Minor compilation fixes.
svn path=/trunk/; revision=7151
Diffstat (limited to 'camel/providers/imap/camel-imap-search.c')
-rw-r--r--camel/providers/imap/camel-imap-search.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-search.c b/camel/providers/imap/camel-imap-search.c
index cec0ee1f89..09c21a5c47 100644
--- a/camel/providers/imap/camel-imap-search.c
+++ b/camel/providers/imap/camel-imap-search.c
@@ -70,11 +70,10 @@ imap_body_contains (struct _ESExp *f, int argc, struct _ESExpResult **argv,
CamelFolderSearch *s)
{
CamelImapStore *store = CAMEL_IMAP_STORE (s->folder->parent_store);
- CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (s->folder);
char *value = argv[0]->value.string;
CamelImapResponse *response;
char *result, *p, *lasts = NULL, *real_uid;
- const char *uid;
+ const char *uid = "";
ESExpResult *r;
CamelMessageInfo *info;
GHashTable *uid_hash = NULL;
@@ -121,10 +120,10 @@ imap_body_contains (struct _ESExp *f, int argc, struct _ESExpResult **argv,
uid_hash = g_hash_table_new(g_str_hash, g_str_equal);
for (i=0;i<s->summary->len;i++) {
info = s->summary->pdata[i];
- g_hash_table_insert(uid_hash, camel_message_info_uid(info), info);
+ g_hash_table_insert(uid_hash, (char *)camel_message_info_uid(info), info);
}
}
- if (g_hash_table_lookup_extended(uid_hash, p, &real_uid, &info))
+ if (g_hash_table_lookup_extended(uid_hash, p, (void *)&real_uid, (void *)&info))
g_ptr_array_add (r->value.ptrarray, real_uid);
}
}