programs/wineboot: sign compare fixes

Austin English austinenglish at gmail.com
Mon Jul 13 19:59:27 CDT 2009


-- 
-Austin
-------------- next part --------------
From 2bf0bad77f044590eb0b2c02f56ca26c08c7f8e7 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Mon, 13 Jul 2009 16:45:31 -0500
Subject: [PATCH] progams/wineboot: sign compare fixes

---
 programs/wineboot/wineboot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index 85e2897..f2ee8f6 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -504,7 +504,7 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete,
             continue;
         }
 
-        if( (res=runCmd(szCmdLine, NULL, bSynchronous, FALSE ))==INVALID_RUNCMD_RETURN )
+        if( (res=runCmd(szCmdLine, NULL, bSynchronous, FALSE ))==(DWORD)INVALID_RUNCMD_RETURN )
         {
             WINE_ERR("Error running cmd %s (%d)\n", wine_dbgstr_w(szCmdLine), GetLastError() );
         }
-- 
1.5.4.3


More information about the wine-patches mailing list