Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
11655:527cf464140b | 11656:f9c5480ad0ce |
---|---|
284 irc_dccsend_send_connected, xfer); | 284 irc_dccsend_send_connected, xfer); |
285 | 285 |
286 /* Send the intended recipient the DCC request */ | 286 /* Send the intended recipient the DCC request */ |
287 arg[0] = xfer->who; | 287 arg[0] = xfer->who; |
288 inet_aton(gaim_network_get_my_ip(irc->fd), &addr); | 288 inet_aton(gaim_network_get_my_ip(irc->fd), &addr); |
289 arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %zu\001", | 289 arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %" G_GSIZE_FORMAT "\001", |
290 xfer->filename, ntohl(addr.s_addr), | 290 xfer->filename, ntohl(addr.s_addr), |
291 port, xfer->size); | 291 port, xfer->size); |
292 | 292 |
293 irc_cmd_privmsg(gc->proto_data, "msg", NULL, arg); | 293 irc_cmd_privmsg(gc->proto_data, "msg", NULL, arg); |
294 g_free(tmp); | 294 g_free(tmp); |