summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_printf.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-04-25 15:56:08 -0600
committerBrian Paul <[email protected]>2016-04-27 10:23:19 -0600
commite522a76226acfcf786457ce4472294d9e36adc94 (patch)
tree2539b4fe0800aa793d705d9d13668daa4e1ab044 /src/gallium/auxiliary/gallivm/lp_bld_printf.c
parent489df4a71aca99b2eebc62c02215a5860def944d (diff)
gallivm: s/Elements/ARRAY_SIZE/
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_printf.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_printf.c b/src/gallium/auxiliary/gallivm/lp_bld_printf.c
index 69d829ea676..14131b39105 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_printf.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_printf.c
@@ -199,7 +199,7 @@ lp_build_printf(struct gallivm_state *gallivm,
int i;
argcount = lp_get_printf_arg_count(fmt);
- assert(Elements(params) >= argcount + 1);
+ assert(ARRAY_SIZE(params) >= argcount + 1);
va_start(arglist, fmt);
for (i = 1; i <= argcount; i++) {