From b67605814738d17484e508d037b8b1f09c27cab6 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sun, 21 Jul 2019 02:06:00 -0500 Subject: Visual C++ compiler warning fixes. Mostly signed/unsigned/size_t mismatches, except for one case treating a bool as an integer. --- bag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bag.h') diff --git a/bag.h b/bag.h index 394cead..fd44d6e 100644 --- a/bag.h +++ b/bag.h @@ -115,7 +115,7 @@ inline bool Bag::empty() const inline int Bag::size() const { - return m_tiles.size(); + return (int)m_tiles.size(); } inline const LongLetterString &Bag::tiles() const -- cgit v1.2.3