Skip to content

Commit

Permalink
PEGASUS: Fix compilation with optimizations enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed May 13, 2012
1 parent 974eb12 commit 175befc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/pegasus/util.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 175befc

Please sign in to comment.