From 9eea8423a0da2f64691e6f23507cbd9ff4eb9a08 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 12 Jul 2019 08:41:13 -0700 Subject: [PATCH] panfrost/midgard: Use generic outmod type It could be midgard_outmod_float or midgard_outmod_int; don't assume it's one or the other. Fixes -Wenum-conversion warnings. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/midgard/midgard.h b/src/panfrost/midgard/midgard.h index 5953214c599..311f3bc043a 100644 --- a/src/panfrost/midgard/midgard.h +++ b/src/panfrost/midgard/midgard.h @@ -248,7 +248,7 @@ __attribute__((__packed__)) unsigned src1 : 13; unsigned src2 : 13; midgard_dest_override dest_override : 2; - midgard_outmod_float outmod : 2; + unsigned outmod : 2; unsigned mask : 8; } midgard_vector_alu; -- 2.30.2