Make comparison signed (fix warning)

This commit is contained in:
Justin Viiret 2016-02-15 16:17:58 +11:00 committed by Matthew Barr
parent c055f81398
commit 6e8f394d8d

View File

@ -849,7 +849,7 @@ hwlmcb_rv_t roseRunProgram(const struct RoseEngine *t,
for (;;) {
assert(ISALIGNED_N(pc, ROSE_INSTR_MIN_ALIGN));
assert(pc >= pc_base);
assert((pc - pc_base) < t->size);
assert((size_t)(pc - pc_base) < t->size);
const u8 code = *(const u8 *)pc;
assert(code <= ROSE_INSTR_END);