# HG changeset patch # User Mark Doliner # Date 1195198309 0 # Node ID 9736ee1ca29e0ef044969c21890782415529e1f6 # Parent 688b6c15a270a356b03978ba7670a6c51fe5cc47 Get rid of two compile warnings: jabber.c: In function 'purple_network_get_my_ip_ext2': jabber.c:1052: warning: cast from pointer to integer of different size jabber.c:1052: warning: cast to pointer from integer of different size diff -r 688b6c15a270 -r 9736ee1ca29e libpurple/protocols/bonjour/jabber.c --- a/libpurple/protocols/bonjour/jabber.c Fri Nov 16 05:58:57 2007 +0000 +++ b/libpurple/protocols/bonjour/jabber.c Fri Nov 16 07:31:49 2007 +0000 @@ -1049,7 +1049,7 @@ ((add >> 16) & 255), ((add >> 8) & 255), add & 255); - tip = (char*) ((int) tip + len); + tip = &tip[len]; count++; continue; }