summaryrefslogtreecommitdiffabout
path: root/src/assert.c
Side-by-side diff
Diffstat (limited to 'src/assert.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assert.c b/src/assert.c
index 0577768..c1cfc01 100644
--- a/src/assert.c
+++ b/src/assert.c
@@ -53,6 +53,6 @@ grecs_assert_node_value_type(enum grecs_callback_command cmd,
grecs_node_t *node, int type)
{
return grecs_assert_scalar_stmt(&node->locus, cmd)
- && grecs_assert_value_type(node->v.value, type,
+ || grecs_assert_value_type(node->v.value, type,
&node->locus);
}

Return to:

Send suggestions and report system problems to the System administrator.