diff -r 08583103ba6f -r 093c72464b35 sourcehook/generate/sourcehook.hxx --- a/sourcehook/generate/sourcehook.hxx Sun Oct 07 23:00:38 2007 +0000 +++ b/sourcehook/generate/sourcehook.hxx Mon Oct 08 14:20:51 2007 +0000 @@ -841,7 +841,7 @@ #define SH_CALL_HOOKS(post, params) \ prev_res = MRES_IGNORED; \ - while ( iter = static_cast(pContext->GetNext()) ) \ + while ( (iter = static_cast(pContext->GetNext())) ) \ { \ cur_res = MRES_IGNORED; \ plugin_ret = iter->Call params; \ @@ -893,7 +893,7 @@ #define SH_CALL_HOOKS_void(post, params) \ prev_res = MRES_IGNORED; \ - while ( iter = static_cast(pContext->GetNext()) ) \ + while ( (iter = static_cast(pContext->GetNext())) ) \ { \ cur_res = MRES_IGNORED; \ iter->Call params; \