advapi32: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Fri Oct 4 04:43:20 CDT 2013
---
dlls/advapi32/registry.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index e999ce6..11e7500 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -82,13 +82,13 @@ static BOOL hkcu_cache_disabled;
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
/* check if value type needs string conversion (Ansi<->Unicode) */
-static inline int is_string( DWORD type )
+static inline BOOL is_string( DWORD type )
{
return (type == REG_SZ) || (type == REG_EXPAND_SZ) || (type == REG_MULTI_SZ);
}
/* check if current version is NT or Win95 */
-static inline int is_version_nt(void)
+static inline BOOL is_version_nt(void)
{
return !(GetVersion() & 0x80000000);
}
--
1.8.4
More information about the wine-patches
mailing list