Tests: Fix type cast warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Changelog:

 * dlls/user/tests/class.c,
   dlls/winsock/tests/sock.c

   Fix type cast warnings

Index: dlls/user/tests/class.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/class.c,v
retrieving revision 1.3
diff -u -r1.3 class.c
--- dlls/user/tests/class.c	22 Jun 2002 00:08:10 -0000	1.3
+++ dlls/user/tests/class.c	16 Sep 2002 09:27:19 -0000
@@ -79,7 +79,7 @@
        CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, 0,
        0, hInstance, 0);

-    ok(hTestWnd,
+    ok(hTestWnd!=NULL,
         "Failed to create window");

     /* test initial values of valid classwords */
Index: dlls/winsock/tests/sock.c
===================================================================
RCS file: /home/wine/wine/dlls/winsock/tests/sock.c,v
retrieving revision 1.4
diff -u -r1.4 sock.c
--- dlls/winsock/tests/sock.c	22 Jun 2002 00:08:10 -0000	1.4
+++ dlls/winsock/tests/sock.c	16 Sep 2002 09:27:20 -0000
@@ -67,7 +67,7 @@
     int          sock_type;
     int          sock_prot;
     char        *inet_addr;
-    int          inet_port;
+    short        inet_port;
     int          chunk_size;
     int          n_chunks;
     int          n_clients;



-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
  Any sufficiently advanced Operating System is indistinguishable from Linux



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux