summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSenko Rasic <senko.rasic@collabora.co.uk>2007-03-21 15:09:49 +0000
committerSenko Rasic <senko.rasic@collabora.co.uk>2007-03-21 15:09:49 +0000
commit8ca96de42fbe026741bdf56dda273d2620578386 (patch)
treefd9ab30168bda8c8e3dcca65690d897c479ec4ca /src
parent94b93a2dde718fe2f9f57043e5cde8015e48b713 (diff)
properly cast priority as gint8 instead of char, revert no-op tp_strdiff "patch"
Diffstat (limited to 'src')
-rw-r--r--src/debug.h1
-rw-r--r--src/gabble-connection-manager.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h
index 3dd0036d..175016fe 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -24,6 +24,7 @@ typedef enum
GABBLE_DEBUG_IM = 1 << 9,
GABBLE_DEBUG_PERSIST = 1 << 10,
GABBLE_DEBUG_VCARD = 1 << 11,
+ GABBLE_DEBUG_PIPELINE = 1 << 12,
} GabbleDebugFlags;
void gabble_debug_set_flags_from_env ();
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,