# HG changeset patch # User Paul Aurich # Date 1240957201 0 # Node ID 45271de9c65d4a1892c7f762a186ce1915221d92 # Parent 73ac2cd2cba3d9dbf61cc42b96b285f87ac5f044 Windows compilation complains (probably because it's 32-bit) diff -r 73ac2cd2cba3 -r 45271de9c65d libpurple/protocols/jabber/bosh.c --- 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 */);