fix implicit-integer-truncation UBSAN error in CompressionTest.cpp
Summary: UndefinedBehaviorSanitizer: implicit-integer-truncation folly/compression/test/CompressionTest.cpp:111:34 ``` Note, this is not an undefined behavior, but usually is unintentional. In this case it's intentional, add an explicit static_cast to the destination type. Reviewed By: yfeldblum Differential Revision: D19281230 fbshipit-source-id: 5374028e551b96e757fbb9f63af2cbbd8ee100e6
Showing
Please register or sign in to comment