Narendran-KT commented on code in PR #10989:
URL: https://github.com/apache/arrow-rs/pull/10989#discussion_r3977868626


##########
arrow-ipc/src/compression.rs:
##########
@@ -201,7 +201,7 @@ impl CompressionCodec {
             // empty input, nothing to do
         } else {
             // write compressed data directly into the output buffer
-            output.extend_from_slice(&uncompressed_data_len.to_le_bytes());
+            output.extend_from_slice(&(uncompressed_data_len as 
i64).to_le_bytes());

Review Comment:
   Thanks! I’ll check for any other similar call sites as well and make sure we 
haven’t missed anything.



-- 
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]

Reply via email to