aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/makeuname2c.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/makeuname2c.cc b/libcpp/makeuname2c.cc
index f27e010..2b3c708 100644
--- a/libcpp/makeuname2c.cc
+++ b/libcpp/makeuname2c.cc
@@ -451,7 +451,7 @@ write_nodes (struct node *n, size_t off)
{
for (; n; n = n->sibling)
{
- assert (tree[off] == 0 && off < tree_size);
+ assert (off < tree_size && tree[off] == 0);
if (n->key_len > 1)
{
assert (n->key_len < 64);