jkhaliqi commented on code in PR #8474:
URL: https://github.com/apache/incubator-gluten/pull/8474#discussion_r1917631495
##########
cpp/core/utils/qpl/QplCodec.cc:
##########
@@ -203,7 +203,7 @@ class QplGzipCodec final : public arrow::util::Codec {
int64_t MaxCompressedLen(int64_t input_len, const uint8_t*
ARROW_ARG_UNUSED(input)) override {
ARROW_DCHECK_GE(input_len, 0);
/// Aligned with ZLIB
- return ((input_len) + ((input_len) >> 12) + ((input_len) >> 14) +
((input_len) >> 25) + 13);
+ return ((input_len) + ((input_len) >> 12) + ((input_len) >> 14) +
((input_len) >> 25) + static_cast<int64_t>(13));
Review Comment:
13LL gets rid of the unnecessary casting so updating with this, thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]