forked from OSchip/llvm-project
Fix 'enumeral and non-enumeral type in conditional expression' gcc warning. NFCI.
llvm-svn: 320254
This commit is contained in:
parent
3d0be4f507
commit
a335e1e29d
|
@ -139,7 +139,7 @@ private:
|
|||
|
||||
uint8_t getColor(Node N) {
|
||||
auto F = Colors.find(N);
|
||||
return F != Colors.end() ? F->second : None;
|
||||
return F != Colors.end() ? F->second : (uint8_t)None;
|
||||
}
|
||||
|
||||
std::pair<bool,uint8_t> getUniqueColor(const NodeSet &Nodes);
|
||||
|
|
Loading…
Reference in New Issue