Mercurial > pidgin
comparison libpurple/protocols/bonjour/jabber.c @ 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 | 5b9da9db7e81 |
children | 919338d399ae |
comparison
equal
deleted
inserted
replaced
21551:688b6c15a270 | 21552:9736ee1ca29e |
---|---|
1047 len = g_snprintf(tip, 17, "%lu.%lu.%lu.%lu;", | 1047 len = g_snprintf(tip, 17, "%lu.%lu.%lu.%lu;", |
1048 ((add >> 24) & 255), | 1048 ((add >> 24) & 255), |
1049 ((add >> 16) & 255), | 1049 ((add >> 16) & 255), |
1050 ((add >> 8) & 255), | 1050 ((add >> 8) & 255), |
1051 add & 255); | 1051 add & 255); |
1052 tip = (char*) ((int) tip + len); | 1052 tip = &tip[len]; |
1053 count++; | 1053 count++; |
1054 continue; | 1054 continue; |
1055 } | 1055 } |
1056 } | 1056 } |
1057 } | 1057 } |