Andrew Talbot : wininet/tests: Cast-qual warning fix.
Module: wine Branch: master Commit: c54a2480ec6cdd52738fa07f22610b874c733a3c URL: http://source.winehq.org/git/wine.git/?a=commit;h=c54a2480ec6cdd52738fa07f22... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Thu Oct 5 19:44:30 2006 +0100 wininet/tests: Cast-qual warning fix. --- dlls/wininet/tests/http.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index b64ee8a..5a49a65 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -579,9 +579,9 @@ static void HttpSendRequestEx_test(void) int i; BOOL ret; - static const char szPostData[] = "mode=Test"; + static char szPostData[] = "mode=Test"; static const char szContentType[] = "Content-Type: application/x-www-form-urlencoded"; - + hSession = InternetOpen("Wine Regression Test", INTERNET_OPEN_TYPE_PRECONFIG,NULL,NULL,0); ok( hSession != NULL ,"Unable to open Internet session\n"); @@ -604,7 +604,7 @@ static void HttpSendRequestEx_test(void) BufferIn.lpcszHeader = szContentType; BufferIn.dwHeadersLength = sizeof(szContentType); BufferIn.dwHeadersTotal = sizeof(szContentType); - BufferIn.lpvBuffer = (LPVOID)szPostData; + BufferIn.lpvBuffer = szPostData; BufferIn.dwBufferLength = 3; BufferIn.dwBufferTotal = sizeof(szPostData)-1; BufferIn.dwOffsetLow = 0;
participants (1)
-
Alexandre Julliard