Vinson Lee <v...@freedesktop.org> writes:

> Fixes mixing enum types defects reported by Coverity.

Reviewed-by: Eric Anholt <e...@anholt.net>

I'm disappointed in gcc that there's -Wenum-compare, but nothing to
complain about implicit conversions between enum types. (between an enum
and int I'm fine with, unlike C++, but enum to enum is probably a
mistake)

Also, further proof that we need more tests.

Attachment: pgpJS8YP_dS1q.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to