summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-05-15 01:24:00 -0400
committerZack Rusin <[email protected]>2010-05-15 01:24:00 -0400
commitaf75bb4c9865a8162ae190d99d062047150b67b5 (patch)
tree0c6219f71d35265cacf7baa412425e8a3c543d07 /src/gallium/auxiliary/gallivm
parent74589283704c1e8723cfcdf14278c05039e2dbda (diff)
gallivm: use our util_snprintf
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 3dfa6cf25cf..6e1e41fdeed 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -42,6 +42,7 @@
#include "util/u_debug.h"
#include "util/u_math.h"
#include "util/u_memory.h"
+#include "util/u_string.h"
#include "tgsi/tgsi_dump.h"
#include "tgsi/tgsi_info.h"
#include "tgsi/tgsi_parse.h"
@@ -303,7 +304,7 @@ static LLVMValueRef lp_get_function(struct lp_build_tgsi_soa_context *bld,
int i;
char func_name[32];
- snprintf(func_name, 31, "func%d", label);
+ util_snprintf(func_name, 31, "func%d", label);
arg_types[0] = LLVMPointerType(vec_type, 0); /* inputs */
arg_types[1] = LLVMPointerType(vec_type, 0); /* outpus */