Mercurial > pidgin
diff src/protocols/zephyr/zephyr.c @ 7475:08ce2a94d9c7
[gaim-migrate @ 8088]
I made Gaim compile with -ansi in my CFLAGS... I don't really know why.
I had to set HAVE_GETADDRINFO and HAVE_SIGNAL_H to 0
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 11 Nov 2003 07:08:13 +0000 |
| parents | ab828b8c3f22 |
| children | 0555e59dfba9 |
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c Tue Nov 11 05:57:24 2003 +0000 +++ b/src/protocols/zephyr/zephyr.c Tue Nov 11 07:08:13 2003 +0000 @@ -366,7 +366,7 @@ char *realmptr; char *sendertmp; char *ptr = notice.z_message + strlen(notice.z_message) + 1; - int len = notice.z_message_len - (ptr - notice.z_message); + int len = notice.z_message_len - ((int)ptr - (int)notice.z_message); GaimConvImFlags flags = 0; if (len > 0) { buf = g_malloc(len + 1);
