Skip to content

Commit

Permalink
Fix sign conversion warning on Windows arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
invertego committed Sep 1, 2024
1 parent 2c105e2 commit ed9ccb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sljit_src/sljitConfigInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ extern "C" {
#elif defined(_WIN32)

#define SLJIT_CACHE_FLUSH(from, to) \
FlushInstructionCache(GetCurrentProcess(), (void*)(from), (char*)(to) - (char*)(from))
FlushInstructionCache(GetCurrentProcess(), (void*)(from), (size_t)((char*)(to) - (char*)(from)))

#elif (defined(__GNUC__) && (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || defined(__clang__)

Expand Down

0 comments on commit ed9ccb1

Please sign in to comment.