changeset 26744:45271de9c65d

Windows compilation complains (probably because it's 32-bit)
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Apr 2009 22:20:01 +0000
parents 73ac2cd2cba3
children e5c874075b42
files libpurple/protocols/jabber/bosh.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/bosh.c	Tue Apr 28 21:15:30 2009 +0000
+++ b/libpurple/protocols/jabber/bosh.c	Tue Apr 28 22:20:01 2009 +0000
@@ -194,7 +194,7 @@
 	 * unlikely we'll send enough packets in one session to overflow the rid.
 	 */
 	conn->rid = ((guint64)g_random_int() << 32) | g_random_int();
-	conn->rid &= 0xFFFFFFFFFFFFF;
+	conn->rid &= 0xFFFFFFFFFFFFFLL;
 
 	conn->pending = purple_circ_buffer_new(0 /* default grow size */);