summaryrefslogtreecommitdiff
path: root/bag.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-07-21 02:06:00 -0500
committerJohn Fultz <jfultz@wolfram.com>2019-07-21 02:06:00 -0500
commitb67605814738d17484e508d037b8b1f09c27cab6 (patch)
tree9584efaa02ac17a1e0dd91b9b36797441c3cf593 /bag.h
parent592be355923ea0fae3630af6fe3ba8f11523d9e4 (diff)
Visual C++ compiler warning fixes.
Mostly signed/unsigned/size_t mismatches, except for one case treating a bool as an integer.
Diffstat (limited to 'bag.h')
-rw-r--r--bag.h2
1 files changed, 1 insertions, 1 deletions
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