Module: Mesa Branch: master Commit: a8d55374dc4be7eaeac4684d259c1ef56a4dc30a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8d55374dc4be7eaeac4684d259c1ef56a4dc30a
Author: Marek Olšák <[email protected]> Date: Tue Mar 20 17:02:43 2018 -0400 radeonsi: fix a snprintf warning on gcc 7.3.0 --- src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index c8ac8548b4..90cc2e0d98 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
