Skip to content

Commit

Permalink
Fix issue rapidsai#5440
Browse files Browse the repository at this point in the history
Fixes the narrowing conversion in bytestream reading in patched RLE
  • Loading branch information
devavret committed Jun 15, 2020
1 parent db3cbb4 commit 1e30d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/io/orc/stripe_data.cu
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ static __device__ uint32_t Integer_RLEv2(
bytestream_readbe(bs, pos * 8 + i * w, w, v);
vals[base + i] = v;
} else if (mode == 2) {
uint32_t ofs = bytestream_readbits64(bs, pos * 8 + i * w, w);
uint64_t ofs = bytestream_readbits64(bs, pos * 8 + i * w, w);
vals[base + i] = rle->baseval.u64[r] + ofs;
} else {
int64_t delta = rle->delta[r], ofs;
Expand Down

0 comments on commit 1e30d8a

Please sign in to comment.