[janitor] dlls/winsock -Wwrite-strings cleanup

Daniel Marmier d.marmier at bluewin.ch
Mon Oct 6 15:06:12 CDT 2003


Fixed warnings with gcc option "-Wwrite-strings".

-------------- next part --------------
Index: dlls/winsock/tests/sock.c
===================================================================
RCS file: /home/wine/wine/dlls/winsock/tests/sock.c,v
retrieving revision 1.10
diff -u -r1.10 sock.c
--- dlls/winsock/tests/sock.c	5 Sep 2003 23:08:26 -0000	1.10
+++ dlls/winsock/tests/sock.c	6 Oct 2003 19:45:12 -0000
@@ -68,7 +68,7 @@
 {
     int          sock_type;
     int          sock_prot;
-    char        *inet_addr;
+    const char  *inet_addr;
     short        inet_port;
     int          chunk_size;
     int          n_chunks;


More information about the wine-patches mailing list