mirror of
https://github.com/monero-project/monero.git
synced 2025-01-27 16:07:03 -05:00
36933c7f5c
The `-Wstrict-aliasing` warning issue was already fixed by someone earlier. And for the `-Wtautological-constant-out-of-range-compare` (wordy) warning, I replaced `val <= 4611686018427387903` assertion with `!(val >> 31 >> 31)` expression. These expressions are equivalent but the latter is defined if the size_t type is only 32-bits wide. Another way to think about it is that the expression is checking if any bit after the 61st bit is set.
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.