Suppression of warnings in test building

Vincent Béron vberon at mecano.gme.usherb.ca
Tue Dec 10 10:21:05 CST 2002


Those are visible with -W in addition to -Wall, or in MSVC.

Changelog:
Suppress some signed/unsigned comparison warning.

Vincent
-------------- next part --------------
--- wine/dlls/winmm/tests/wave.c	2002-11-04 18:47:49.000000000 -0500
+++ wine/dlls/winmm/tests/wave.c	2002-12-10 10:58:07.000000000 -0500
@@ -29,7 +29,7 @@
  */
 
 #define TEST_FORMATS 12
-static const int win_formats[TEST_FORMATS][4]={
+static const unsigned int win_formats[TEST_FORMATS][4]={
     {WAVE_FORMAT_1M08, 11025,  8, 1},
     {WAVE_FORMAT_1S08, 11025,  8, 2},
     {WAVE_FORMAT_1M16, 11025, 16, 1},


More information about the wine-patches mailing list