Commit c54a2480 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wininet/tests: Cast-qual warning fix.

parent 8be92001
...@@ -579,9 +579,9 @@ static void HttpSendRequestEx_test(void) ...@@ -579,9 +579,9 @@ static void HttpSendRequestEx_test(void)
int i; int i;
BOOL ret; BOOL ret;
static const char szPostData[] = "mode=Test"; static char szPostData[] = "mode=Test";
static const char szContentType[] = "Content-Type: application/x-www-form-urlencoded"; static const char szContentType[] = "Content-Type: application/x-www-form-urlencoded";
hSession = InternetOpen("Wine Regression Test", hSession = InternetOpen("Wine Regression Test",
INTERNET_OPEN_TYPE_PRECONFIG,NULL,NULL,0); INTERNET_OPEN_TYPE_PRECONFIG,NULL,NULL,0);
ok( hSession != NULL ,"Unable to open Internet session\n"); ok( hSession != NULL ,"Unable to open Internet session\n");
...@@ -604,7 +604,7 @@ static void HttpSendRequestEx_test(void) ...@@ -604,7 +604,7 @@ static void HttpSendRequestEx_test(void)
BufferIn.lpcszHeader = szContentType; BufferIn.lpcszHeader = szContentType;
BufferIn.dwHeadersLength = sizeof(szContentType); BufferIn.dwHeadersLength = sizeof(szContentType);
BufferIn.dwHeadersTotal = sizeof(szContentType); BufferIn.dwHeadersTotal = sizeof(szContentType);
BufferIn.lpvBuffer = (LPVOID)szPostData; BufferIn.lpvBuffer = szPostData;
BufferIn.dwBufferLength = 3; BufferIn.dwBufferLength = 3;
BufferIn.dwBufferTotal = sizeof(szPostData)-1; BufferIn.dwBufferTotal = sizeof(szPostData)-1;
BufferIn.dwOffsetLow = 0; BufferIn.dwOffsetLow = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment