]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
fix a build issue
authorWolfgang Bumiller <blub@speed.at>
Sat, 12 Jan 2013 15:38:49 +0000 (16:38 +0100)
committerWolfgang Bumiller <blub@speed.at>
Sat, 12 Jan 2013 15:38:49 +0000 (16:38 +0100)
ir.c

diff --git a/ir.c b/ir.c
index 13afbba83781a91a53b95f028c3ea51d550d30e0..a641310644dc950712894eef33cfe9965c9c1d09 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -485,7 +485,7 @@ ir_function* ir_function_new(ir_builder* owner, int outtype)
     self->values = NULL;
     self->locals = NULL;
 
-    self->max_varargs = NULL;
+    self->max_varargs = 0;
 
     self->code_function_def = -1;
     self->allocated_locals = 0;