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. --- quackleio/gaddagfactory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quackleio/gaddagfactory.h') diff --git a/quackleio/gaddagfactory.h b/quackleio/gaddagfactory.h index 966c561..364e492 100644 --- a/quackleio/gaddagfactory.h +++ b/quackleio/gaddagfactory.h @@ -35,8 +35,8 @@ public: GaddagFactory(const UVString &alphabetFile); ~GaddagFactory(); - int wordCount() const { return m_gaddagizedWords.size(); }; - int nodeCount() const { return m_nodelist.size(); }; + int wordCount() const { return (int)m_gaddagizedWords.size(); }; + int nodeCount() const { return (int)m_nodelist.size(); }; int encodableWords() const { return m_encodableWords; }; int unencodableWords() const { return m_unencodableWords; }; -- cgit v1.2.3