diff --git a/examples/FormatterHooks.c b/examples/FormatterHooks.c index 4405d2a..f862018 100644 --- a/examples/FormatterHooks.c +++ b/examples/FormatterHooks.c @@ -202,7 +202,7 @@ void disassembleBuffer(uint8_t* data, size_t length, bool installHooks) char buffer[256]; while (ZYDIS_SUCCESS(ZydisDecoderDecodeNextInstruction(&decoder, &info))) { - printf("%016" PRIx64 " ", info.instrAddress); + printf("%016" PRIX64 " ", info.instrAddress); if (info.instrFlags & ZYDIS_INSTRFLAG_ERROR_MASK) { printf(" db %02x\n", info.data[0]); diff --git a/include/Zydis/Formatter.h b/include/Zydis/Formatter.h index 91161a2..ca09a53 100644 --- a/include/Zydis/Formatter.h +++ b/include/Zydis/Formatter.h @@ -87,7 +87,7 @@ typedef uint8_t ZydisFormatterAddressFormat; /** * @brief Values that represent address-formats. */ -enum ZydisFormatterAddressFormat_ +enum ZydisFormatterAddressFormats { /** * @brief Currently defaults to @c ZYDIS_FORMATTER_ADDR_ABSOLUTE.