From ff65917357bedfe84940c4cb8ab4ae33478432dc Mon Sep 17 00:00:00 2001 From: Markus Stoll Date: Mon, 27 Apr 2015 11:58:54 +0200 Subject: [PATCH] fix for IIS --- Utilities/Adaptors/IIS/WebObjects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Adaptors/IIS/WebObjects.c b/Utilities/Adaptors/IIS/WebObjects.c index 6984ef4b8c5..84bcd6d6052 100644 --- a/Utilities/Adaptors/IIS/WebObjects.c +++ b/Utilities/Adaptors/IIS/WebObjects.c @@ -567,7 +567,7 @@ static int readContentData(HTTPRequest *req, void *dataBuffer, int dataSize, int length = (char *)WOMALLOC(32); if (length) { - sprintf(length,"%ul",req->content_length); + sprintf(length,"%lu",req->content_length); req_addHeader(req, CONTENT_LENGTH, length, STR_FREEVALUE); } if (p->lpszContentType != NULL)