]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/funambol/serv_funambol.c
* 64 bit cleanness: format size_t properly in printf()
[citadel.git] / citadel / modules / funambol / serv_funambol.c
index 827bdb7172901eb320259e80c0b2acd5de998089..3ea21710509be11ca107bc9611d2094e3b0f677f 100644 (file)
@@ -189,7 +189,7 @@ void notify_funambol(long msgnum, void *userdata) {
                );
                strcat(SOAPHeader,buf);
        strcat(SOAPHeader,"Pragma: no-cache\r\nSOAPAction: \"\"\r\n");
-       sprintf(buf, "Content-Length: %d\r\n",
+       sprintf(buf, "Content-Length: " SIZE_T_FMT "\r\n",
                strlen(SOAPData));
        strcat(SOAPHeader, buf);
        sprintf(buf, "Authorization: Basic %s\r\n\r\n",