mesa: Use correct functions for enum conversion.
authorVinson Lee <vlee@freedesktop.org>
Mon, 11 Mar 2013 05:51:23 +0000 (22:51 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 12 Mar 2013 06:44:10 +0000 (23:44 -0700)
commit543d0328853f60b88748b28ba702f5f12f000b95
tree836b7e1d2003704c7ef09b8f28705cf88359ac91
parent6173cc19c45d92ef0b7bc6aa008aa89bb29abbda
mesa: Use correct functions for enum conversion.

Fixes mixing enum types defects reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/errors.c