diff options
Diffstat (limited to 'src/gabble-connection-manager.c')
-rw-r--r-- | src/gabble-connection-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gabble-connection-manager.c b/src/gabble-connection-manager.c index 4f09aac4..c215346b 100644 --- a/src/gabble-connection-manager.c +++ b/src/gabble-connection-manager.c @@ -218,7 +218,7 @@ _gabble_connection_manager_new_connection (TpBaseConnectionManager *self, SET_PROPERTY_IF_PARAM_SET ("resource", JABBER_PARAM_RESOURCE, params->resource); SET_PROPERTY_IF_PARAM_SET ("priority", JABBER_PARAM_PRIORITY, - (char) CLAMP (params->priority, G_MININT8, G_MAXINT8)); + (gint8) CLAMP (params->priority, G_MININT8, G_MAXINT8)); SET_PROPERTY_IF_PARAM_SET ("port", JABBER_PARAM_PORT, params->port); SET_PROPERTY_IF_PARAM_SET ("old-ssl", JABBER_PARAM_OLD_SSL, params->old_ssl); SET_PROPERTY_IF_PARAM_SET ("register", JABBER_PARAM_REGISTER, |