]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.c
Get it compiling in visual studio again.
[xonotic/gmqcc.git] / ir.c
diff --git a/ir.c b/ir.c
old mode 100644 (file)
new mode 100755 (executable)
index cabddf4..2552510
--- a/ir.c
+++ b/ir.c
@@ -3059,7 +3059,7 @@ static ir_value* ir_gen_extparam_proto(ir_builder *ir)
     ir_value *global;
     char      name[128];
 
-    snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)));
+    util_snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)));
     global = ir_value_var(name, store_global, TYPE_VECTOR);
 
     vec_push(ir->extparam_protos, global);