]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - code.c
data/functions.qc for some more tests
[xonotic/gmqcc.git] / code.c
diff --git a/code.c b/code.c
index 9149fbca6a717f7206984c10dcfd20dde71fb0e1..5c69e8803496775313fd91b3d4e4c54dc8abc312 100644 (file)
--- a/code.c
+++ b/code.c
@@ -203,7 +203,7 @@ bool code_write(const char *filename) {
     util_endianswap(code_functions_data,  code_functions_elements,  sizeof(prog_section_function));
     util_endianswap(code_globals_data,    code_globals_elements,    sizeof(int32_t));
 
-    fp = fopen(filename, "wb");
+    fp = util_fopen(filename, "wb");
     if (!fp)
         return false;