Skip to content

Commit

Permalink
Fix long return values
Browse files Browse the repository at this point in the history
  • Loading branch information
DieKautz committed Feb 9, 2024
1 parent 0a657e2 commit 5d5e92d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ private long methodReturnInteger(final long integer) {
private long methodReturnReceiver() {
assert hasSucceeded();
pop(numReceiverAndArguments - 1); // leave the receiver on the stack
return 0;
return 0L;
}

private long methodReturnString(final String string) {
Expand All @@ -579,7 +579,7 @@ private long methodReturnValue(final long oop) {
}

private long minorVersion() {
return 17;
return 17L;
}

private long nilObject() {
Expand Down Expand Up @@ -613,7 +613,7 @@ private long primitiveFail() {
if (primFailCode == 0) {
primitiveFailFor(1L);
}
return returnNull();
return 0L;
}

private long primitiveFailFor(final long reasonCode) {
Expand Down

0 comments on commit 5d5e92d

Please sign in to comment.