Skip to content

Commit

Permalink
Added explicit byte cast as in
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Apr 20, 2016
1 parent d1079df commit dfd39a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unrar/src/main/java/com/github/junrar/unpack/vm/RarVM.java
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ private void ExecuteStandardFilter(VMStandardFilters filterType) {
for (int curPos=0;curPos<dataSize-4;)
{
byte curByte=mem[curPos++];
if (curByte==0xe8 || curByte==cmpByte2)
if (curByte==(byte) 0xe8 || curByte==cmpByte2)
{
// #ifdef PRESENT_INT32
// sint32 Offset=CurPos+FileOffset;
Expand Down

0 comments on commit dfd39a9

Please sign in to comment.