PATCH: dlls/setupapi/queue.c (GCC 4.0 fixes)

Gerald Pfeifer gerald at pfeifer.com
Sun Dec 12 13:59:41 CST 2004


Current versions of GCC spotted this:

  queue.c:1009: warning: pointer targets in passing argument 4 of
  'VerQueryValueW' differ in signedness
  queue.c:1012: warning: pointer targets in passing argument 4 of
  'VerQueryValueW' differ in signedness

Gerald

ChangeLog:
Use proper type for fourth parameter to VerQueryValueW().
Index: dlls/setupapi/queue.c
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/queue.c,v
retrieving revision 1.11
diff -u -3 -p -r1.11 queue.c
--- queue.c	22 Sep 2004 02:46:39 -0000	1.11
+++ queue.c	12 Dec 2004 20:49:19 -0000
@@ -991,7 +991,7 @@ BOOL static do_file_copyW( LPCWSTR sourc
             LPVOID VersionTarget;
             VS_FIXEDFILEINFO *TargetInfo;
             VS_FIXEDFILEINFO *SourceInfo;
-            INT length;
+            UINT length;
             WCHAR  SubBlock[2]={'\\',0};
             DWORD  ret;
 



More information about the wine-patches mailing list