From: Dale Weiler Date: Sun, 24 Nov 2013 02:17:35 +0000 (-0500) Subject: Fix X-Git-Tag: xonotic-v0.8.0~62 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=50d1bfe7830291743498124f65c991ca060f28ed;p=xonotic%2Fgmqcc.git Fix --- diff --git a/intrin.c b/intrin.c index cf4398e..a6d3520 100644 --- a/intrin.c +++ b/intrin.c @@ -85,7 +85,7 @@ static ast_expression *intrin_isfinite(intrin_t *intrin) { */ ast_value *value = NULL; ast_value *x = ast_value_new(intrin_ctx(intrin), "x", TYPE_FLOAT); - ast_function *func = intrin_value(intrin, &value, NULL, TYPE_FLOAT); + ast_function *func = intrin_value(intrin, &value, "isfinite", TYPE_FLOAT); ast_call *callisnan = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "isnan", "isfinite")); ast_call *callisinf = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "isinf", "isfinite")); ast_block *block = ast_block_new(intrin_ctx(intrin));