[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ros-kernel
Subject:    [ros-kernel] shell32 : Comparison between int and pointer warning
From:       Sylvain Petreolle <spetreolle () yahoo ! fr>
Date:       2004-09-07 5:10:13
Message-ID: 20040907051013.85512.qmail () web51103 ! mail ! yahoo ! com
[Download RAW message or body]

dialogs.c : Comparison between int and pointer warning fix.

=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
Say NO to software patents
Dites NON aux brevets logiciels

"You believe it's the year 1984, when in fact, its closer to 2184"1984 / Matrix


	

	
		
Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour \
dialoguer instantanément avec vos amis. A télécharger gratuitement sur \
http://fr.messenger.yahoo.com


["dialog164fix.diff" (text/x-patch)]

Index: dialogs.c
===================================================================
RCS file: /CVS/ReactOS/reactos/lib/shell32/dialogs.c,v
retrieving revision 1.10
diff -u -r1.10 dialogs.c
--- dialogs.c	1 Aug 2004 15:56:15 -0000	1.10
+++ dialogs.c	7 Sep 2004 04:52:05 -0000
@@ -164,7 +164,7 @@
                         psz = malloc (ic + 2) ;
                         GetWindowTextA (htxt, psz, ic + 1) ;
 
-                        if ((ShellExecuteA(NULL, _T("open"), psz, NULL, NULL, \
SW_SHOWNORMAL)) < 33) +                        if (((int) ShellExecuteA(NULL, \
_T("open"), psz, NULL, NULL, SW_SHOWNORMAL)) < 33)  {
                             char *pszSysMsg = NULL ;
                             FormatMessageA (



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic