Fixed README

This commit is contained in:
flobernd 2017-08-09 17:25:45 +02:00
parent 03ef968413
commit a525342b42
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ int main()
ZydisDecodedInstruction instruction;
char buffer[256];
while (ZYDIS_SUCCESS(
ZydisDecoderDecodeBuffer(decoder, data, length, instructionPointer, &instruction)))
ZydisDecoderDecodeBuffer(&decoder, &data[0], length, instructionPointer, &instruction)))
{
data += instruction.length;
length -= instruction.length;