summaryrefslogtreecommitdiff
path: root/quackleio/gaddagfactory.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 /quackleio/gaddagfactory.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 'quackleio/gaddagfactory.h')
-rw-r--r--quackleio/gaddagfactory.h4
1 files changed, 2 insertions, 2 deletions
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; };