Michael Stefaniuc : user32: Avoid using long.

Alexandre Julliard julliard at winehq.org
Fri May 21 12:15:19 CDT 2010


Module: wine
Branch: master
Commit: bf7241c12567c81ba4cc78b58c9550401cee95f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bf7241c12567c81ba4cc78b58c9550401cee95f7

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri May 21 12:12:47 2010 +0200

user32: Avoid using long.

---

 dlls/user32/dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c
index 79f5182..aac8a4d 100644
--- a/dlls/user32/dialog.c
+++ b/dlls/user32/dialog.c
@@ -1374,7 +1374,7 @@ UINT WINAPI GetDlgItemInt( HWND hwnd, INT id, BOOL *translated,
 {
     char str[30];
     char * endptr;
-    long result = 0;
+    LONG_PTR result = 0;
 
     if (translated) *translated = FALSE;
     if (!SendDlgItemMessageA(hwnd, id, WM_GETTEXT, sizeof(str), (LPARAM)str))




More information about the wine-cvs mailing list