Skip to content

Commit

Permalink
AURORA: Fix a signed/unsigned comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Dec 22, 2012
1 parent 8cbd3f0 commit 87714ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aurora/nwscript/ncsfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void NCSStack::setStackPtr(int32 pos) {

_stackPtr = (pos / -4) - 1;

if (size() < (_stackPtr + 1))
if ((int32)size() < (_stackPtr + 1))
resize(_stackPtr + 1);
}

Expand Down

0 comments on commit 87714ed

Please sign in to comment.