From 9893a60eee47ca0bd6e11c4579f892dd276d4f8e Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Fri, 4 Feb 2011 01:55:52 +0100 Subject: [PATCH] Fix some compiler warnings by converting a BOOL to a bool. Signed-off-by: Sven Strickroth --- src/Git/GitStatusListCtrl.h | 2 +- src/Utils/MiscUI/HistoryCombo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Git/GitStatusListCtrl.h b/src/Git/GitStatusListCtrl.h index b3d472a8f..7ab7121d6 100644 --- a/src/Git/GitStatusListCtrl.h +++ b/src/Git/GitStatusListCtrl.h @@ -994,7 +994,7 @@ public: DECLARE_MESSAGE_MAP() public: - void SetBusy(BOOL b) {m_bBusy = b; Invalidate();} + void SetBusy(bool b) {m_bBusy = b; Invalidate();} private: void SaveColumnWidths(bool bSaveToRegistry = false); diff --git a/src/Utils/MiscUI/HistoryCombo.h b/src/Utils/MiscUI/HistoryCombo.h index 6ac28d5fe..5a3a75a2a 100644 --- a/src/Utils/MiscUI/HistoryCombo.h +++ b/src/Utils/MiscUI/HistoryCombo.h @@ -44,7 +44,7 @@ public: CHistoryCombo(BOOL bAllowSortStyle = FALSE); virtual ~CHistoryCombo(); - BOOL m_bWantReturn; + bool m_bWantReturn; // Operations public: /** -- 2.11.4.GIT