From d712fe215f16bf3d8e7500b2b608d6c2dcb548da Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Wed, 1 Oct 2008 16:35:37 -0400 Subject: [PATCH] fix unsignedness in dbus.c --- sflphone-gtk/src/dbus.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sflphone-gtk/src/dbus.c b/sflphone-gtk/src/dbus.c index 57cea1f65d..ded6aba89d 100644 --- a/sflphone-gtk/src/dbus.c +++ b/sflphone-gtk/src/dbus.c @@ -1266,7 +1266,7 @@ guint dbus_get_max_calls( void ) { GError* error = NULL; - guint calls; + gint calls; org_sflphone_SFLphone_ConfigurationManager_get_max_calls( configurationManagerProxy, &calls, @@ -1276,7 +1276,7 @@ dbus_get_max_calls( void ) g_error_free(error); } g_print("GET MAX CALLS = %i\n" , calls); - return calls; + return (guint)calls; } void @@ -1365,7 +1365,7 @@ guint dbus_get_notify( void ) { g_print("Before dbus_get_notif_level()\n"); - guint level; + gint level; GError* error = NULL; org_sflphone_SFLphone_ConfigurationManager_get_notify( configurationManagerProxy, @@ -1379,7 +1379,7 @@ dbus_get_notify( void ) else g_print("Called dbus_get_notif_level\n"); - return level; + return (guint)level; } void @@ -1401,7 +1401,7 @@ guint dbus_get_mail_notify( void ) { g_print("Before dbus_get_mail_notif_level()\n"); - guint level; + gint level; GError* error = NULL; org_sflphone_SFLphone_ConfigurationManager_get_mail_notify( configurationManagerProxy, @@ -1415,7 +1415,7 @@ dbus_get_mail_notify( void ) else g_print("Called dbus_get_mail_notif_level\n"); - return level; + return (guint)level; } void -- GitLab