diff -r f7526d407359 -r df7d7d108475 sourcehook/sourcehook.h --- a/sourcehook/sourcehook.h Wed Aug 09 07:25:48 2006 +0000 +++ b/sourcehook/sourcehook.h Wed Aug 09 07:42:16 2006 +0000 @@ -501,12 +501,12 @@ { inline static T* GetOrigRet(ISourceHook *shptr) { - T &ref = *reinterpret_cast::type *>(shptr->GetOrigRet()); + T &ref = *reinterpret_cast::type *>(shptr->GetOrigRet()); return &ref; } inline static T* GetOverrideRet(ISourceHook *shptr) { - T &ref = *reinterpret_cast::type *>(shptr->GetOverrideRet()); + T &ref = *reinterpret_cast::type *>(shptr->GetOverrideRet()); return &ref; } }; @@ -5842,7 +5842,7 @@ void operator()(ISourceHook *shptr, T &res) { // overrideretptr points to ReferenceCarrier - *reinterpret_cast::type *>(shptr->GetOverrideRetPtr()) = res; + *reinterpret_cast::type *>(shptr->GetOverrideRetPtr()) = res; } };