Skip to content

Commit

Permalink
🚧 (FIXES): Try fix implicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed May 30, 2022
1 parent 2e32ee4 commit 2945278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/Utils/include/MemoryUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ constexpr auto combineBytes(TwoBytes bytes) noexcept -> uint16_t
auto both = uint16_t {};

both = bytes.high;
both = both << 8;
both = both << uint16_t {8};
both |= bytes.low;

return both;
Expand Down

0 comments on commit 2945278

Please sign in to comment.