From 175befc3f127d547f94ff83a688f72c88996f2b9 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sat, 12 May 2012 20:23:07 -0400 Subject: [PATCH] PEGASUS: Fix compilation with optimizations enabled --- engines/pegasus/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/pegasus/util.cpp b/engines/pegasus/util.cpp index c38054d05104..03bc5729ccfb 100644 --- a/engines/pegasus/util.cpp +++ b/engines/pegasus/util.cpp @@ -68,7 +68,7 @@ void FunctionPtr::callFunction() { (*_function)(this, _functionArg); } -inline int32 pegasusRound(const int32 a, const int32 b) { +int32 pegasusRound(const int32 a, const int32 b) { if (b < 0) if (a < 0) return -((a - (-b >> 1)) / -b);