Skip to content

Commit

Permalink
Fix C4333
Browse files Browse the repository at this point in the history
```
warning C4333: '>>' : right shift by too large amount, data loss
```
  • Loading branch information
fjeremic committed Jun 7, 2021
1 parent 1fe042d commit d6fc12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ilgen/OMRJitBuilderRecorderBinaryBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void
OMR::JitBuilderRecorderBinaryBuffer::Number(int16_t num)
{
_buf.push_back((uint8_t)num&0xFF);
_buf.push_back((uint8_t)(num&0xFF00)>>8);
_buf.push_back((uint8_t)((num&0xFF00)>>8));
}

void
Expand Down

0 comments on commit d6fc12e

Please sign in to comment.