[telepathy-gabble-0.18] telepathy-gabble: private-tube-factory: tube ID is a guint64

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Thu Oct 3 00:55:23 PDT 2013


Module: telepathy-gabble
Branch: telepathy-gabble-0.18
Commit: c2d7b345aa52e3f5d70d4657f0dbab7c3f62042a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=c2d7b345aa52e3f5d70d4657f0dbab7c3f62042a

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Oct  2 15:58:59 2013 +0200

private-tube-factory: tube ID is a guint64

Fix a crash on 64 bits archs.

https://bugs.freedesktop.org/show_bug.cgi?id=70038

---

 src/private-tubes-factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index 48b4211..1924509 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -996,7 +996,7 @@ channel_closed_cb (GabbleTubeIface *tube,
 {
   GabblePrivateTubesFactoryPrivate *priv =
     GABBLE_PRIVATE_TUBES_FACTORY_GET_PRIVATE (self);
-  guint id;
+  guint64 id;
 
   g_object_get (tube,
       "id", &id,



More information about the telepathy-commits mailing list