Fix signed/unsigned warnings in user32/sysparams

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

 



Changelog:

 * dlls/user/tests/sysparams.c

   Fix signed/unsigned compilation warnings


Index: dlls/user/tests/sysparams.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/sysparams.c,v
retrieving revision 1.8
diff -u -r1.8 sysparams.c
--- dlls/user/tests/sysparams.c	29 Oct 2002 21:24:36 -0000	1.8
+++ dlls/user/tests/sysparams.c	3 Jan 2003 18:49:40 -0000
@@ -134,7 +134,7 @@
  - system parameter id
  - supposed value of the registry key
 */
-static void test_change_message( UINT action, char *reg_section )
+static void test_change_message( int action, char *reg_section )
 {
     ok( 1 == change_counter,
         "Missed a message: change_counter=%d", change_counter );
@@ -347,7 +347,7 @@
     UINT old_border;
     UINT curr_val;
     UINT border;
-    UINT frame;
+    INT frame;
     char buf[10];

     /* tests one configuration of border settings */
@@ -432,9 +432,9 @@

 static void test_SPI_ICONHORIZONTALSPACING( void )     /*     13 */
 {
-    UINT old_spacing;
-    UINT spacing;
-    UINT curr_val;
+    INT old_spacing;
+    INT spacing;
+    INT curr_val;
     char buf[10];

     trace("testing SPI_ICONHORIZONTALSPACING\n");
@@ -582,9 +582,9 @@

 static void test_SPI_ICONVERTICALSPACING( void )       /*     24 */
 {
-    UINT old_spacing;
-    UINT spacing;
-    UINT curr_val;
+    INT old_spacing;
+    INT spacing;
+    INT curr_val;
     char buf[10];

     trace("testing SPI_ICONVERTICALSPACING\n");
@@ -700,8 +700,8 @@

 static void test_SPI_SETDOUBLECLKWIDTH( void )         /*     29 */
 {
-    UINT old_width;
-    UINT curr_val;
+    INT old_width;
+    INT curr_val;
     char buf[10];

     trace("testing SPI_SETDOUBLECLKWIDTH\n");
@@ -731,8 +731,8 @@

 static void test_SPI_SETDOUBLECLKHEIGHT( void )        /*     30 */
 {
-    UINT old_height;
-    UINT curr_val;
+    INT old_height;
+    INT curr_val;
     char buf[10];

     trace("testing SPI_SETDOUBLECLKHEIGHT\n");


-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
                  A black hole is just God dividing by zero.



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

  Powered by Linux