ddebug: fix a few MSVC compiler warnings
authorBrian Paul <brianp@vmware.com>
Sat, 4 May 2019 16:01:31 +0000 (10:01 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 8 May 2019 16:05:41 +0000 (10:05 -0600)
commitbc517dbbf7050948204abcffdabc99b8a3790987
treea2f07793a733e8c00c4a6bd7b2090cc8e815d4d1
parent2e28983ed2c06a20526759f3fedf8ee5bd21f7f6
ddebug: fix a few MSVC compiler warnings

Don't return an expression in void functions.
Replace an unsigned int with proper enum.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/driver_ddebug/dd_context.c
src/gallium/auxiliary/driver_ddebug/dd_screen.c