From: Tapani Pälli Date: Mon, 24 Jun 2019 11:36:28 +0000 (+0300) Subject: intel/compiler: silence a warning of using different enum type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a6e5a4bc34b24b5dce13ddff6d5730bb14cf1fa;p=mesa.git intel/compiler: silence a warning of using different enum type Signed-off-by: Tapani Pälli Reviewed-by: Eric Engestrom --- 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",