Module: wine Branch: master Commit: bf7241c12567c81ba4cc78b58c9550401cee95f7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf7241c12567c81ba4cc78b58c...
Author: Michael Stefaniuc mstefani@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))