From bf7241c12567c81ba4cc78b58c9550401cee95f7 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 21 May 2010 12:12:47 +0200 Subject: [PATCH] user32: Avoid using long. --- dlls/user32/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c index 79f5182c788..aac8a4ded6e 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))