Avoid Enum Compare Warnings
authorDavid Greene <greened@obbligato.org>
Tue, 15 Jan 2013 23:46:58 +0000 (23:46 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 15 Jan 2013 23:46:58 +0000 (23:46 +0000)
commitaf50dda4102114b23ac7d8c2db4703f22e02f02c
tree6cf98ee952d47a9627ceeaad03ca39fbca74d9bf
parent83d585383345b84ae4a9590e97135f95ae39406b
Avoid Enum Compare Warnings

Avoid a compiler warning about comparing disjoint enums but casting
them to int first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172577 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h