--- gvpe/src/callback.pl 2005/11/29 19:21:09 1.6 +++ gvpe/src/callback.pl 2005/12/27 16:36:16 1.7 @@ -55,7 +55,7 @@ struct proxy : proxy_base { virtual R call (void *obj, R (object::*meth)($TYPE)$_TYPEARG) { - ((reinterpret_cast(obj)) ->* (reinterpret_cast(meth))) + return (R)((reinterpret_cast(obj)) ->* (reinterpret_cast(meth))) ($ARG); } };