pidgin: 628a16b4: Windows compilation complains (probably ...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Apr 28 19:06:22 EDT 2009


-----------------------------------------------------------------
Revision: 628a16b401ad0e595dbdceae65331a6176a9d811
Ancestor: 4a2d7c0b8570558cada900f60d7696231954c231
Author: darkrain42 at pidgin.im
Date: 2009-04-28T22:20:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/628a16b401ad0e595dbdceae65331a6176a9d811

Modified files:
        libpurple/protocols/jabber/bosh.c

ChangeLog: 

Windows compilation complains (probably because it's 32-bit)

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/bosh.c	9edebc2942dcbb3959bf1236249890dd1bb98a94
+++ libpurple/protocols/jabber/bosh.c	d55e085e0957f1ac164ebc6f74ab8251fc48f526
@@ -194,7 +194,7 @@ jabber_bosh_connection_init(JabberStream
 	 * 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 */);
 


More information about the Commits mailing list