diff src/upnp.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 03cd74ca2562
children 201be1b681a4
line wrap: on
line diff
--- a/src/upnp.c	Thu Oct 13 03:23:38 2005 +0000
+++ b/src/upnp.c	Thu Oct 13 19:53:09 2005 +0000
@@ -95,7 +95,7 @@
                            "\"urn:schemas-upnp-org:"                       \
                            "service:%s#%s\"\r\n"                           \
                            "CONTENT-TYPE: text/xml ; charset=\"utf-8\"\r\n"\
-                           "Content-Length: %zi\r\n\r\n"
+                           "Content-Length: %" G_GSIZE_FORMAT "\r\n\r\n"
 
 #define SOAP_ACTION  "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n"     \
                      "<s:Envelope xmlns:s="                               \