Alexandre Julliard : rundll32: Fix a pointer conversion warning on 64-bit.
Alexandre Julliard
julliard at winehq.org
Wed Jul 21 10:54:52 CDT 2010
Module: wine
Branch: master
Commit: 59ef151a93b79be888845eaf3c1ae7d4b04e09e0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=59ef151a93b79be888845eaf3c1ae7d4b04e09e0
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jul 21 11:09:20 2010 +0200
rundll32: Fix a pointer conversion warning on 64-bit.
---
programs/rundll32/rundll32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/rundll32/rundll32.c b/programs/rundll32/rundll32.c
index c619693..53508c9 100644
--- a/programs/rundll32/rundll32.c
+++ b/programs/rundll32/rundll32.c
@@ -123,7 +123,7 @@ static void *get_entry_point32( HMODULE module, LPCWSTR entry, BOOL *unicode )
/* determine if the entry point is an ordinal */
if (entry[0] == '#')
{
- int ordinal = atoiW( entry + 1 );
+ INT_PTR ordinal = atoiW( entry + 1 );
if (ordinal <= 0)
return NULL;
More information about the wine-cvs
mailing list