Skip to content

Commit

Permalink
cast to void* to fix above err
Browse files Browse the repository at this point in the history
  • Loading branch information
YSaxon committed Jun 14, 2024
1 parent 4bbe6a3 commit f63f851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ void parseInitJNI(char* initJNICommand) {
printf(" [+] Found JNI_OnLoad, attempting to call\n");
onLoadFunc(vm, NULL);

setVar(vmStr, getPVar(*vm));
setVar(envStr, getPVar(*env));
setVar(vmStr, (void*)*vm);
setVar(envStr, (void*)*env);
}

typedef bool (*SpecialSignalHandlerFn)(int, siginfo_t*, void*);
Expand Down

0 comments on commit f63f851

Please sign in to comment.