Skip to content

Commit

Permalink
[Truffle] Fix int/long shift in PosixFDSet8Bytes.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Nov 22, 2016
1 parent c1a115b commit c8746f9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -59,6 +59,6 @@ private int bitmapAddressOffset(int fd) {
}

private long bitmapElementMask(int fd) {
return 1 << (fd % FIELD_SIZE_IN_BITS);
return 1L << (fd % FIELD_SIZE_IN_BITS);
}
}

0 comments on commit c8746f9

Please sign in to comment.