=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: advapi32: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Fri Oct 4 15:08:40 CDT 2013


Module: wine
Branch: master
Commit: 6b6495e3cafc402bdf1231f6975966c0816366d8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6b6495e3cafc402bdf1231f6975966c0816366d8

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Fri Oct  4 11:43:20 2013 +0200

advapi32: Use BOOL type where appropriate.

---

 dlls/advapi32/registry.c |    4 ++--
 1 files 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);
 }




More information about the wine-cvs mailing list