From cad91b8d503cd04d89bd176038b850482adc1225 Mon Sep 17 00:00:00 2001 From: Mikhail Maroukhine Date: Sun, 28 Mar 2010 21:43:07 +0700 Subject: [PATCH] ws2_32: Fix compiler warnings with flag -Wcast-qual. --- dlls/ws2_32/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index ac9fe756c0c..e4ee97c86a5 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