You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by gi...@apache.org on 2024/06/26 01:31:05 UTC
(arrow-nanoarrow) branch main updated: Update dist/ for commit 61dc7438b88ab8761d18e1362134842974dc670d
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git
The following commit(s) were added to refs/heads/main by this push:
new 4147ab6e Update dist/ for commit 61dc7438b88ab8761d18e1362134842974dc670d
4147ab6e is described below
commit 4147ab6e0d954d1b3b052e26dbaaef16371ab940
Author: GitHub Actions <ac...@github.com>
AuthorDate: Wed Jun 26 01:31:01 2024 +0000
Update dist/ for commit 61dc7438b88ab8761d18e1362134842974dc670d
---
dist/nanoarrow.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dist/nanoarrow.h b/dist/nanoarrow.h
index bfb13f64..d8bf41d8 100644
--- a/dist/nanoarrow.h
+++ b/dist/nanoarrow.h
@@ -914,7 +914,7 @@ static inline void ArrowDecimalInit(struct ArrowDecimal* decimal, int32_t bitwid
memset(decimal->words, 0, sizeof(decimal->words));
decimal->precision = precision;
decimal->scale = scale;
- decimal->n_words = bitwidth / 8 / sizeof(uint64_t);
+ decimal->n_words = (int)(bitwidth / 8 / sizeof(uint64_t));
if (_ArrowIsLittleEndian()) {
decimal->low_word_index = 0;
@@ -2266,7 +2266,7 @@ static inline uint16_t ArrowFloatToHalfFloat(float value) {
uint16_t sn = (uint16_t)((u.b >> 31) & 0x1);
uint16_t exp = (u.b >> 23) & 0xff;
- int16_t res = (int16_t)exp - 127 + 15;
+ int16_t res = (int16_t)(exp - 127 + 15);
uint16_t fc = (uint16_t)(u.b >> 13) & 0x3ff;
if (exp == 0) {