aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbe.c b/qbe.c
index ab9bf15..fd1515b 100644
--- a/qbe.c
+++ b/qbe.c
@@ -184,7 +184,7 @@ mkintconst(struct representation *r, uint64_t n)
uint64_t
intconstvalue(struct value *v)
{
- assert(v->kind = VALCONST);
+ assert(v->kind == VALCONST);
return v->i;
}