Skip to content

Commit

Permalink
Remove remaining compilation warnings (issue #72)
Browse files Browse the repository at this point in the history
GCC 7.3.0 and clang 4.0.1
  • Loading branch information
WojciechMula committed Apr 26, 2018
1 parent bd52669 commit 89e2e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.c
Expand Up @@ -132,7 +132,7 @@ __read_sequence__from_tuple(PyObject* obj, TRIE_LETTER_TYPE** word, ssize_t* wor

// TODO: both min and max values should be configured
if (value < 0 || value > 65535) {
PyErr_Format(PyExc_ValueError, "item #%zd: value %zd outside range [%zd..%zd]", i, value, 0, 65535);
PyErr_Format(PyExc_ValueError, "item #%zd: value %zd outside range [%d..%d]", i, value, 0, 65535);
memory_free(*word);
return false;
}
Expand Down

0 comments on commit 89e2e9b

Please sign in to comment.