From a525342b4216fb85439b6d6970aae09aa1ffc6ba Mon Sep 17 00:00:00 2001 From: flobernd Date: Wed, 9 Aug 2017 17:25:45 +0200 Subject: [PATCH] Fixed README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5d223b..ae3ddf4 100644 --- a/README.md +++ b/README.md @@ -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;