radeonsi: fix a snprintf warning on gcc 7.3.0

This commit is contained in:
Marek Olšák 2018-03-20 17:02:43 -04:00
parent cf0a95afac
commit a8d55374dc

View file

@ -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;