From: Marek Olšák Date: Tue, 4 Jul 2017 20:40:09 +0000 (+0200) Subject: gallium/radeon: attempt to fix a compiler failure in radeon_winsys.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=156832ee2b22118f29ca93bf1b4cb4de3b329f3e;p=mesa.git gallium/radeon: attempt to fix a compiler failure in radeon_winsys.h trivial. --- diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index b37af91dffd..351edcd76f9 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -684,7 +684,7 @@ static inline enum radeon_bo_domain radeon_domain_from_heap(enum radeon_heap hea return RADEON_DOMAIN_GTT; default: assert(0); - return 0; + return (enum radeon_bo_domain)0; } }