mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-08 23:07:17 +00:00
Fix C99 construct without -c99 (#17077)
* Fix C99 construct without -c99 Co-authored-by: Anton Kochkov <xvilka@gmail.com>
This commit is contained in:
parent
e443dfa0a1
commit
db5cce396d
@ -424,13 +424,14 @@ static const ut8 *parse_line_header (
|
||||
if (f) {
|
||||
fprintf (f, " Opcodes:\n");
|
||||
}
|
||||
for (int i = 1; i <= hdr->opcode_base - 1; i++) {
|
||||
size_t i;
|
||||
for (i = 1; i < hdr->opcode_base; i++) {
|
||||
if (buf + 2 > buf_end) {
|
||||
break;
|
||||
}
|
||||
hdr->std_opcode_lengths[i] = READ (buf, ut8);
|
||||
if (f) {
|
||||
fprintf (f, " Opcode %d has %d arg\n", i, hdr->std_opcode_lengths[i]);
|
||||
fprintf (f, " Opcode %zu has %d arg\n", i, hdr->std_opcode_lengths[i]);
|
||||
}
|
||||
}
|
||||
if (f) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user