Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/X86/X86DisassemblerDecoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@ int decodeInstruction(struct InternalInstruction *insn,
DisassemblerMode mode)
{
insn->reader = reader;
insn->readerArg = (const reader_info*)readerArg;
insn->readerArg = (const struct reader_info*)readerArg;
insn->startLocation = startLoc;
insn->readerCursor = startLoc;
insn->mode = mode;
Expand Down
2 changes: 1 addition & 1 deletion arch/X86/X86DisassemblerDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ typedef struct InternalInstruction {
/* Reader interface (C) */
byteReader_t reader;
/* Opaque value passed to the reader */
const reader_info* readerArg;
const struct reader_info* readerArg;
/* The address of the next byte to read via the reader */
uint64_t readerCursor;

Expand Down