mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
Shut off an unsigned/signed comparison warning for GCC.
llvm-svn: 58842
This commit is contained in:
parent
86d68a492a
commit
f2ad9491f5
@ -118,7 +118,7 @@ public:
|
||||
}
|
||||
void setBuiltinID(unsigned ID) {
|
||||
ObjCOrBuiltinID = ID + tok::NUM_OBJC_KEYWORDS;
|
||||
assert(ObjCOrBuiltinID - tok::NUM_OBJC_KEYWORDS == ID
|
||||
assert(ObjCOrBuiltinID - unsigned(tok::NUM_OBJC_KEYWORDS) == ID
|
||||
&& "ID too large for field!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user