[balsa] Silence the reported warnings.
- From: Pawel Salek <pawels src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [balsa] Silence the reported warnings.
- Date: Sun, 10 Jan 2010 22:09:07 +0000 (UTC)
commit 5f5b62faf766d21e6068ce0f573b6c6038d956fb
Author: Pawel Salek <pawsa damage localdomain>
Date: Sun Jan 10 21:41:28 2010 +0100
Silence the reported warnings.
libbalsa/mailbox_imap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbalsa/mailbox_imap.c b/libbalsa/mailbox_imap.c
index da01e20..50db7c9 100644
--- a/libbalsa/mailbox_imap.c
+++ b/libbalsa/mailbox_imap.c
@@ -2097,7 +2097,7 @@ get_struct_from_cache(LibBalsaMailbox *mailbox, LibBalsaMessage *message,
GMimeFilter *filter;
GMimeParser *mime_parser;
LibBalsaMailboxImap *mimap = LIBBALSA_MAILBOX_IMAP(mailbox);
- g_return_val_if_fail(message->msgno <=
+ g_return_val_if_fail( (guint)message->msgno <=
imap_mbox_handle_get_exists(mimap->handle),
FALSE);
pair = get_cache_name_pair(mimap, "body", IMAP_MESSAGE_UID(message));
@@ -2364,7 +2364,7 @@ lbm_imap_get_msg_part_from_cache(LibBalsaMessage * msg,
FILE *fp;
gchar *section;
- g_return_val_if_fail(msg->msgno <=
+ g_return_val_if_fail( (guint)msg->msgno <=
imap_mbox_handle_get_exists(mimap->handle),
FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]