Mikhail Maroukhine : ws2_32: Fix compiler warnings with flag -Wcast-qual.
Alexandre Julliard
julliard at winehq.org
Mon Mar 29 09:57:57 CDT 2010
Module: wine
Branch: master
Commit: cad91b8d503cd04d89bd176038b850482adc1225
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cad91b8d503cd04d89bd176038b850482adc1225
Author: Mikhail Maroukhine <mikolg at yandex.ru>
Date: Sun Mar 28 21:43:07 2010 +0700
ws2_32: Fix compiler warnings with flag -Wcast-qual.
---
dlls/ws2_32/socket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index ac9fe75..e4ee97c 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -3352,7 +3352,7 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
return SOCKET_ERROR;
}
get_per_thread_data()->opentype = *(const int *)optval;
- TRACE("setting global SO_OPENTYPE = 0x%x\n", *((int*)optval) );
+ TRACE("setting global SO_OPENTYPE = 0x%x\n", *((const int*)optval) );
return 0;
#ifdef SO_RCVTIMEO
More information about the wine-cvs
mailing list