[Xfce4-commits] <xfce4-mailwatch-plugin:master> Fix comparing of signed and unsigned integer
Ján SuÄan
noreply at xfce.org
Mon Sep 16 12:52:01 CEST 2013
Updating branch refs/heads/master
to c1151ebf140f53eb64eea26316dfb4a2f2716a8f (commit)
from c08e32024aa3653186e5b4d77ef7fbe790a1690b (commit)
commit c1151ebf140f53eb64eea26316dfb4a2f2716a8f
Author: Ján Sučan <sucan at runbox.com>
Date: Mon Sep 16 12:45:00 2013 +0200
Fix comparing of signed and unsigned integer
libmailwatch-core/mailwatch-mailbox-gmail.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmailwatch-core/mailwatch-mailbox-gmail.c b/libmailwatch-core/mailwatch-mailbox-gmail.c
index 7f39c4d..fde3233 100644
--- a/libmailwatch-core/mailwatch-mailbox-gmail.c
+++ b/libmailwatch-core/mailwatch-mailbox-gmail.c
@@ -497,7 +497,7 @@ gmail_config_timeout_spinbutton_changed_cb(GtkSpinButton *sb,
gpointer user_data)
{
XfceMailwatchGMailMailbox *gmailbox = XFCE_MAILWATCH_GMAIL_MAILBOX(user_data);
- gint value = gtk_spin_button_get_value_as_int(sb) * 60;
+ guint value = (guint) gtk_spin_button_get_value_as_int(sb) * 60;
if(value == gmailbox->timeout)
return FALSE;
More information about the Xfce4-commits
mailing list