summaryrefslogtreecommitdiff
path: root/libmissioncontrol
diff options
context:
space:
mode:
authorAlberto Mardegan <mardy@users.sourceforge.net>2007-11-06 07:16:12 +0000
committerAlberto Mardegan <mardy@users.sourceforge.net>2007-11-06 07:16:12 +0000
commit647396a8b05ff2909acd3d996755a44325623b8a (patch)
tree215d41e3d320af3d80947b5a66cf8489af384f40 /libmissioncontrol
parent2f64ad626efd87bac7f9fddba15ffb653016d991 (diff)
Fix an error in a for cycle enumerating accounts and a GCC warning.
git-svn-id: https://mission-control.svn.sourceforge.net/svnroot/mission-control/trunk@182 d91c8aed-3f2b-0410-a83d-924a1c20a0ba
Diffstat (limited to 'libmissioncontrol')
-rw-r--r--libmissioncontrol/mission-control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmissioncontrol/mission-control.c b/libmissioncontrol/mission-control.c
index 0e5ea8e2..aac16fce 100644
--- a/libmissioncontrol/mission-control.c
+++ b/libmissioncontrol/mission-control.c
@@ -872,7 +872,7 @@ mission_control_get_online_connections (MissionControl * self, GError **error)
return NULL;
}
/* Create McAccounts with all the account names */
- for (name = names; *name != NULL; *name++)
+ for (name = names; *name != NULL; name++)
{
McAccount *acc = mc_account_lookup (*name);
@@ -1043,7 +1043,7 @@ gint mission_control_get_used_channels_count(MissionControl *self,
if (!mission_control_dbus_get_used_channels_count(DBUS_G_PROXY(self),
g_quark_to_string(type),
- (gint *)&ret,
+ (guint *)&ret,
error))
{
/* We'll have to make a difference between a failed request and 0