mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Make comparison signed (fix warning)
This commit is contained in:
parent
c055f81398
commit
6e8f394d8d
@ -849,7 +849,7 @@ hwlmcb_rv_t roseRunProgram(const struct RoseEngine *t,
|
|||||||
for (;;) {
|
for (;;) {
|
||||||
assert(ISALIGNED_N(pc, ROSE_INSTR_MIN_ALIGN));
|
assert(ISALIGNED_N(pc, ROSE_INSTR_MIN_ALIGN));
|
||||||
assert(pc >= pc_base);
|
assert(pc >= pc_base);
|
||||||
assert((pc - pc_base) < t->size);
|
assert((size_t)(pc - pc_base) < t->size);
|
||||||
const u8 code = *(const u8 *)pc;
|
const u8 code = *(const u8 *)pc;
|
||||||
assert(code <= ROSE_INSTR_END);
|
assert(code <= ROSE_INSTR_END);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user