[PATCH] [WinHelp]: fix regression introduced by Dmitry's Win64 warning fixes

Eric Pouech eric.pouech at orange.fr
Mon Apr 14 13:57:01 CDT 2008




A+
---

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


diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c
index 8181469..bf942a4 100644
--- a/programs/winhelp/hlpfile.c
+++ b/programs/winhelp/hlpfile.c
@@ -158,8 +158,8 @@ HLPFILE_PAGE *HLPFILE_PageByOffset(HLPFILE* hlpfile, LONG offset)
 static int comp_PageByHash(void *p, const void *key,
                            int leaf, void** next)
 {
-    ULONG_PTR lKey = (LONG_PTR)key;
-    ULONG_PTR lTest = GET_UINT(p, 0);
+    LONG_PTR lKey = (LONG_PTR)key;
+    LONG_PTR lTest = GET_UINT(p, 0);
 
     *next = (char *)p+(leaf?8:6);
     WINE_TRACE("Comparing '%lu' with '%lu'\n", lKey, lTest);





More information about the wine-patches mailing list