X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=intrin.c;h=49de9529fd514b64053b16e93522ce8d94b60fe3;hb=151606e25558ec8f8f211db5aba4c4fa66948731;hp=94b420210a2652a0c9c7781f0bada9623108be0f;hpb=14ef6a1c4221115d1d3970d84d1565927aeffb0a;p=xonotic%2Fgmqcc.git diff --git a/intrin.c b/intrin.c index 94b4202..49de952 100644 --- 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]; - util_snprintf(buffer, sizeof(buffer), "__builtin_%s", name); - util_snprintf(stype, sizeof(stype), "<%s>", type_name[vtype]); + platform_snprintf(buffer, sizeof(buffer), "__builtin_%s", name); + platform_snprintf(stype, sizeof(stype), "<%s>", type_name[vtype]); *value = ast_value_new(intrin_ctx(intrin), buffer, TYPE_FUNCTION); (*value)->intrinsic = true;