summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index 8c6278f..e210589 100644
--- a/cfg.c
+++ b/cfg.c
@@ -93,7 +93,7 @@ rporec(Blk *b, uint x)
 	x = rporec(s1, x);
 	x = rporec(s2, x);
 	b->id = x;
-	assert(x >= 0);
+	assert(x != -1u);
 	return x - 1;
 }