im.pidgin.pidgin: 79e477454f627b229f4455df01378b02fd13e05b

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Nov 16 02:38:26 EST 2007


-----------------------------------------------------------------
Revision: 79e477454f627b229f4455df01378b02fd13e05b
Ancestor: fdee6fd343192e04665c9e56ceca3ac78f169666
Author: markdoliner at pidgin.im
Date: 2007-11-16T07:31:49
Branch: im.pidgin.pidgin

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

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/bonjour/jabber.c	2efbf5ef31788c2042d42e9bc657e4faedc07a24
+++ libpurple/protocols/bonjour/jabber.c	968694131fdb8095e1f46886ccaf4efe7c3a34d7
@@ -1049,7 +1049,7 @@ purple_network_get_my_ip_ext2(int fd)
 					((add >> 16) & 255),
 					((add >> 8) & 255),
 					add & 255);
-				tip = (char*) ((int) tip + len);
+				tip = &tip[len];
 				count++;
 				continue;
 			}


More information about the Commits mailing list