Mercurial > pidgin
diff src/protocols/irc/dcc_send.c @ 11656:f9c5480ad0ce
[gaim-migrate @ 13940]
The poster of 1253287 says FreeBSD does have a z printf modifier. Someone commented that Solaris doesn't either. I don't know either way, but we use G_GSIZE_FORMAT elsewhere, so I figured it was worth a shot. I rooted out several %z format strings and changed them. It compiles for me. I make no guarantees past that.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Thu, 13 Oct 2005 19:53:09 +0000 |
| parents | 519dc2186438 |
| children | cbebda5f019c |
line wrap: on
line diff
--- a/src/protocols/irc/dcc_send.c Thu Oct 13 03:23:38 2005 +0000 +++ b/src/protocols/irc/dcc_send.c Thu Oct 13 19:53:09 2005 +0000 @@ -286,7 +286,7 @@ /* Send the intended recipient the DCC request */ arg[0] = xfer->who; inet_aton(gaim_network_get_my_ip(irc->fd), &addr); - arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %zu\001", + arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %" G_GSIZE_FORMAT "\001", xfer->filename, ntohl(addr.s_addr), port, xfer->size);
