From f9966ea331e9ca05127b72c15292e38bf00951a4 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 5 Oct 2010 07:57:55 -0500 Subject: FASTBOOL to bool conversion --- sw/inc/swerror.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/swerror.h') diff --git a/sw/inc/swerror.h b/sw/inc/swerror.h index fa7e03f3a381..af457a2de9b0 100644 --- a/sw/inc/swerror.h +++ b/sw/inc/swerror.h @@ -95,12 +95,12 @@ #ifndef __RSC -inline FASTBOOL IsWarning( ULONG nErr ) +inline bool IsWarning( ULONG nErr ) { return 0 != ( nErr & ERRCODE_WARNING_MASK & nErr ); } -inline FASTBOOL IsError( ULONG nErr ) +inline bool IsError( ULONG nErr ) { return nErr && 0 == ( ERRCODE_WARNING_MASK & nErr ); } -- cgit