changeset 21552:9736ee1ca29e

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
author Mark Doliner <mark@kingant.net>
date Fri, 16 Nov 2007 07:31:49 +0000
parents 688b6c15a270
children 5cd93ff08ecc
files libpurple/protocols/bonjour/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 			}