From 7a6e5a4bc34b24b5dce13ddff6d5730bb14cf1fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Mon, 24 Jun 2019 14:36:28 +0300 Subject: [PATCH] intel/compiler: silence a warning of using different enum type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Eric Engestrom --- src/intel/compiler/brw_vue_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_vue_map.c b/src/intel/compiler/brw_vue_map.c index 76ca4004230..02ca51b1404 100644 --- a/src/intel/compiler/brw_vue_map.c +++ b/src/intel/compiler/brw_vue_map.c @@ -266,7 +266,7 @@ varying_name(brw_varying_slot slot) assume(slot < BRW_VARYING_SLOT_COUNT); if (slot < VARYING_SLOT_MAX) - return gl_varying_slot_name(slot); + return gl_varying_slot_name((gl_varying_slot)slot); static const char *brw_names[] = { [BRW_VARYING_SLOT_NDC - VARYING_SLOT_MAX] = "BRW_VARYING_SLOT_NDC", -- 2.30.2