From df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07 Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Tue, 26 Aug 2014 09:07:57 -0400 Subject: fix "no viable conversion from ... to 'bool'" --- src/item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index beb32a04..d194ac07 100644 --- a/src/item.h +++ b/src/item.h @@ -191,7 +191,7 @@ public: static bool use_aux_date; virtual bool has_date() const { - return _date; + return _date != NULL; } virtual date_t date() const { -- cgit v1.2.3