Skip to content

Commit

Permalink
Apply #2360 to next
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed May 18, 2024
1 parent 5f11d3c commit 0d6fdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static unsigned short *make_id2insn(const insn_map *insns, unsigned int size)
{
// NOTE: assume that the max id is always put at the end of insns array
unsigned short max_id = insns[size - 1].id;
unsigned short i;
unsigned int i;

unsigned short *cache =
(unsigned short *)cs_mem_calloc(max_id + 1, sizeof(*cache));
Expand Down

0 comments on commit 0d6fdcb

Please sign in to comment.