Rich-T-kid commented on code in PR #10989:
URL: https://github.com/apache/arrow-rs/pull/10989#discussion_r3936601857


##########
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:
   nice catch.
   
   did you check if there other similar call sites like this?



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