aboutsummaryrefslogtreecommitdiffstats
path: root/dictionary.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-02-23 18:31:40 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-02-23 18:31:40 -0500
commit81b2fa5d3c270a377504eb5002f0168fc02fd2ff (patch)
tree822ea4ce37eec192e8dbbafb419a806af88f4a56 /dictionary.cpp
parent2aaec63b91a822d4d3d538e6c058deca0507b605 (diff)
enable warnings
Diffstat (limited to 'dictionary.cpp')
-rw-r--r--dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dictionary.cpp b/dictionary.cpp
index de10303..1ac2839 100644
--- a/dictionary.cpp
+++ b/dictionary.cpp
@@ -115,7 +115,7 @@ Word Dictionary::input()
bool Dictionary::equal(Word word, std::string_view sv) const
{
- if (sv.size() != word.end - word.start)
+ if (sv.size() != static_cast<Addr>(word.end - word.start))
return false;
for (unsigned i = 0; i < sv.size(); ++i) {