]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - intrin.c
Refactor some util/platform usage and extend file system file interface to accept...
[xonotic/gmqcc.git] / intrin.c
index 49de9529fd514b64053b16e93522ce8d94b60fe3..94b420210a2652a0c9c7781f0bada9623108be0f 100644 (file)
--- a/intrin.c
+++ b/intrin.c
@@ -39,8 +39,8 @@ static GMQCC_INLINE ast_function *intrin_value(intrin_t *intrin, ast_value **val
     char          buffer[1024];
     char          stype [1024];
 
-    platform_snprintf(buffer, sizeof(buffer), "__builtin_%s", name);
-    platform_snprintf(stype,  sizeof(stype),   "<%s>",        type_name[vtype]);
+    util_snprintf(buffer, sizeof(buffer), "__builtin_%s", name);
+    util_snprintf(stype,  sizeof(stype),   "<%s>",        type_name[vtype]);
 
     *value                      = ast_value_new(intrin_ctx(intrin), buffer, TYPE_FUNCTION);
     (*value)->intrinsic         = true;