gcc warning fixes
parent
efdc82324e
commit
d12e7f67ee
|
@ -1267,6 +1267,7 @@ static void compilestatements(cs_gen_state &gs, int rettype, int brak, int preva
|
|||
if (gs.current(2) != '/') {
|
||||
break;
|
||||
}
|
||||
[[fallthrough]];
|
||||
case ';':
|
||||
case ' ':
|
||||
case '\t':
|
||||
|
|
|
@ -500,7 +500,7 @@ static inline void cs_call_alias(
|
|||
static_cast<cs_alias *>(cs.p_state->identmap[i])
|
||||
);
|
||||
}
|
||||
int argmask = aliaslink.usedargs & (~0 << callargs);
|
||||
int argmask = aliaslink.usedargs & int(~0U << callargs);
|
||||
for (; argmask; ++callargs) {
|
||||
if (argmask & (1 << callargs)) {
|
||||
cs_aliasInternal::pop_arg(static_cast<cs_alias *>(
|
||||
|
|
Loading…
Reference in New Issue