diff options
author | Matthew Hoops | 2012-05-12 20:23:07 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-05-12 20:23:07 -0400 |
commit | 175befc3f127d547f94ff83a688f72c88996f2b9 (patch) | |
tree | 9fc2074d0a2c52fa1ded28d9d41012a509b422a1 /engines | |
parent | 974eb12fcce42067b5a52bc7f50a1edccf0d5f39 (diff) | |
download | scummvm-rg350-175befc3f127d547f94ff83a688f72c88996f2b9.tar.gz scummvm-rg350-175befc3f127d547f94ff83a688f72c88996f2b9.tar.bz2 scummvm-rg350-175befc3f127d547f94ff83a688f72c88996f2b9.zip |
PEGASUS: Fix compilation with optimizations enabled
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pegasus/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/util.cpp b/engines/pegasus/util.cpp index c38054d051..03bc5729cc 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); |