Module: wine Branch: master Commit: b88554d22f81e77c1f8f84fe67f7c2b08144d1aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=b88554d22f81e77c1f8f84fe67...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jan 8 17:26:18 2009 +0100
advapi32: Fix pointer cast warnings on 64-bit.
---
dlls/advapi32/registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c index 6615bc0..52de6c5 100644 --- a/dlls/advapi32/registry.c +++ b/dlls/advapi32/registry.c @@ -43,7 +43,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(reg);
#define HKEY_SPECIAL_ROOT_FIRST HKEY_CLASSES_ROOT #define HKEY_SPECIAL_ROOT_LAST HKEY_DYN_DATA -#define NB_SPECIAL_ROOT_KEYS ((UINT)HKEY_SPECIAL_ROOT_LAST - (UINT)HKEY_SPECIAL_ROOT_FIRST + 1) +#define NB_SPECIAL_ROOT_KEYS ((UINT_PTR)HKEY_SPECIAL_ROOT_LAST - (UINT_PTR)HKEY_SPECIAL_ROOT_FIRST + 1)
static HKEY special_root_keys[NB_SPECIAL_ROOT_KEYS]; static BOOL hkcu_cache_disabled;