diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-05 07:57:55 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-07 19:06:12 -0500 |
commit | f9966ea331e9ca05127b72c15292e38bf00951a4 (patch) | |
tree | e8d0e9de8f1369ee1e8b35f5dabf8bee13a6f547 /sw/inc/swerror.h | |
parent | 88b6420dc574f82c6ce9db698521d36ad9b51261 (diff) |
FASTBOOL to bool conversion
Diffstat (limited to 'sw/inc/swerror.h')
-rw-r--r-- | sw/inc/swerror.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); } |