diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 22:35:03 +0800 |
commit | 433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch) | |
tree | d66a04ad4fa676b4bfce762dee09a82f4434d374 /mail/mail-mt.c | |
parent | e6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff) | |
download | gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip |
More code cleanup.
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c index b4572281f4..4920ab9e80 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -384,7 +384,7 @@ gint mail_msg_active(guint msgid) gint active; MAIL_MT_LOCK(mail_msg_lock); - if (msgid == (unsigned int)-1) + if (msgid == (guint)-1) active = g_hash_table_size(mail_msg_active_table) > 0; else active = g_hash_table_lookup(mail_msg_active_table, GINT_TO_POINTER(msgid)) != NULL; @@ -688,7 +688,7 @@ do_async_event(struct _proxy_msg *m) g_mutex_unlock(m->ea->lock); } -static int +static gint idle_async_event(gpointer mm) { do_async_event(mm); @@ -831,7 +831,7 @@ do_call(struct _call_msg *m) case MAIL_CALL_p_ppippp: p1 = va_arg(ap, gpointer ); p2 = va_arg(ap, gpointer ); - i1 = va_arg(ap, int); + i1 = va_arg(ap, gint); p3 = va_arg(ap, gpointer ); p4 = va_arg(ap, gpointer ); p5 = va_arg(ap, gpointer ); |