diff libpurple/protocols/jabber/bosh.c @ 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 e0218e4ec785
children f82f3dc29f9b
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 */);