gallium/radeon: attempt to fix a compiler failure in radeon_winsys.h
authorMarek Olšák <marek.olsak@amd.com>
Tue, 4 Jul 2017 20:40:09 +0000 (22:40 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Jul 2017 20:40:35 +0000 (22:40 +0200)
trivial.

src/gallium/drivers/radeon/radeon_winsys.h

index b37af91dffd2dc0b66ba205ce74eec563044ac4d..351edcd76f98a0dcda7123bdf5d45a616286ee74 100644 (file)
@@ -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;
     }
 }