aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-20 11:59:28 +0000
committerEric Engestrom <[email protected]>2019-07-19 22:39:38 +0100
commitdffeaa55dd1155d7a1e8feb5ecfc54fff688fcd8 (patch)
treea232b3bef0f7251f90cd3a279674218c46a60d65 /src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
parent00e23cd96998deae429508efa10545be13420379 (diff)
util: use standard name for snprintf()
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c b/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
index 152ad573451..ab931190cf6 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
@@ -80,8 +80,8 @@ build_binary_int_overflow(struct gallivm_state *gallivm,
debug_assert(type_width == 16 || type_width == 32 || type_width == 64);
- util_snprintf(intr_str, sizeof intr_str, "%s.i%u",
- intr_prefix, type_width);
+ snprintf(intr_str, sizeof intr_str, "%s.i%u",
+ intr_prefix, type_width);
oelems[0] = type_ref;
oelems[1] = LLVMInt1TypeInContext(gallivm->context);