Skip to content
Browse files

Fixed typecasting mistake in function wrapper

  • Loading branch information...
1 parent 6ea30c7 commit bffb7270978eb2de51eca6add80fb4fad726388f @Leont committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 perl++/headers/interpreter.h
View
2 perl++/headers/interpreter.h
@@ -332,7 +332,7 @@ namespace perl {
static void subroutine(interpreter* me_perl, CV* cef) {
Argument_stack arg_stack(me_perl);
const func_ptr ref = implementation::get_function_pointer<func_ptr>(me_perl, cef);
- ref(typecast_to<A1>(arg_stack[0], typecast_to<A2>(me_perl, arg_stack[1]), typecast_to<A3>(me_perl, arg_stack[3])));
+ ref(typecast_to<A1>(arg_stack[0], typecast_to<A2>(arg_stack[1]), typecast_to<A3>(arg_stack[3])));
}
};

0 comments on commit bffb727

Please sign in to comment.
Something went wrong with that request. Please try again.