Module: wine Branch: master Commit: 50480c72f32d5c5913ddfb1de1f76f5d23f33398 URL: http://source.winehq.org/git/wine.git/?a=commit;h=50480c72f32d5c5913ddfb1de1...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 16 18:07:09 2012 +0100
user32: Fix a pointer cast warning.
---
dlls/user32/input.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c index 905bda1..6a76cb8 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -943,7 +943,7 @@ UINT WINAPI GetKeyboardLayoutList(INT nBuff, HKL *layouts) rc = RegEnumKeyW(hKeyKeyboard, count, szKeyName, 9); if (rc == ERROR_SUCCESS) { - layout = (HKL)strtoulW(szKeyName,NULL,16); + layout = (HKL)(ULONG_PTR)strtoulW(szKeyName,NULL,16); if (baselayout != 0 && layout == (HKL)baselayout) baselayout = 0; /* found in the registry do not add again */ if (nBuff && layouts)