[ros-diffs] [tkreuzer] 25869: Silence some warnings

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed Feb 21 23:04:59 CET 2007


Author: tkreuzer
Date: Thu Feb 22 01:04:59 2007
New Revision: 25869

URL: http://svn.reactos.org/svn/reactos?rev=25869&view=rev
Log:
Silence some warnings

Modified:
    trunk/reactos/dll/win32/shell32/autocomplete.c
    trunk/reactos/dll/win32/shell32/iconcache.c
    trunk/reactos/dll/win32/shell32/shelllink.c

Modified: trunk/reactos/dll/win32/shell32/autocomplete.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/autocomplete.c?rev=25869&r1=25868&r2=25869&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/autocomplete.c (original)
+++ trunk/reactos/dll/win32/shell32/autocomplete.c Thu Feb 22 01:04:59 2007
@@ -38,6 +38,7 @@
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdio.h>
 
 #define COBJMACROS
 

Modified: trunk/reactos/dll/win32/shell32/iconcache.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/iconcache.c?rev=25869&r1=25868&r2=25869&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/iconcache.c (original)
+++ trunk/reactos/dll/win32/shell32/iconcache.c Thu Feb 22 01:04:59 2007
@@ -22,6 +22,7 @@
 #include "wine/port.h"
 
 #include <stdarg.h>
+#include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
 #ifdef HAVE_UNISTD_H

Modified: trunk/reactos/dll/win32/shell32/shelllink.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelllink.c?rev=25869&r1=25868&r2=25869&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelllink.c (original)
+++ trunk/reactos/dll/win32/shell32/shelllink.c Thu Feb 22 01:04:59 2007
@@ -2557,7 +2557,7 @@
     sei.lpParameters = args;
     sei.lpVerb = szOpen;
 
-    if ( ShellExecuteExW( &sei ) && sei.hInstApp > 32 )
+    if ( ShellExecuteExW( &sei ) && (UINT)sei.hInstApp > 32 )
         r = S_OK;
     else
         r = E_FAIL;




More information about the Ros-diffs mailing list