diff options
author | Marek Olšák <[email protected]> | 2018-03-20 17:02:43 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-03-21 13:43:09 -0400 |
commit | a8d55374dc4be7eaeac4684d259c1ef56a4dc30a (patch) | |
tree | 70a75d447ffeccc943a2bb4e0065f23358d7bac8 /src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | |
parent | cf0a95afacc24f79a22c9b00b29a27061fe195a0 (diff) |
radeonsi: fix a snprintf warning on gcc 7.3.0
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index c8ac8548b44..90cc2e0d981 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -648,7 +648,7 @@ static void emit_declaration(struct lp_build_tgsi_context *bld_base, case TGSI_FILE_TEMPORARY: { - char name[16] = ""; + char name[18] = ""; LLVMValueRef array_alloca = NULL; unsigned decl_size; unsigned writemask = decl->Declaration.UsageMask; |