Skip to content
Snippets Groups Projects
Commit 34fcbe40 authored by Banny's avatar Banny Committed by Nguyen Anh Quynh
Browse files

Bug fix (#408)

Bug fix for win32 jna access
parent ffe054aa
Branches
Tags
No related merge requests found
......@@ -81,7 +81,7 @@ public final class DirectMappingKeystoneNative {
* @param numberOfStatements number of statements successfully processed
* @return 0 on success, or -1 on failure.
*/
public static native int ks_asm(Pointer engine, String assembly, int address, PointerByReference machineCodeBuffer,
public static native int ks_asm(Pointer engine, String assembly, long address, PointerByReference machineCodeBuffer,
IntByReference machineCodeSize, IntByReference numberOfStatements);
/**
......@@ -176,4 +176,4 @@ public final class DirectMappingKeystoneNative {
* @return An hexadecimal number as (major << 8 | minor), which encodes both major & minor versions.
*/
public static native int ks_version(IntByReference major, IntByReference minor);
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment