Skip to content

Commit 19b4e11

Browse files
committed
reverted to uint8_t
1 parent b04aafd commit 19b4e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ static void parse_double_hexadecimal(FieldParseContext *ctx)
935935
uint64_t acc = 0;
936936
uint8_t digit;
937937
const char *ch0 = ch;
938-
while ((digit = hexdigits[(int)*ch]) < 16) {
938+
while ((digit = hexdigits[(uint8_t)*ch]) < 16) {
939939
acc = (acc << 4) + digit;
940940
ch++;
941941
}

0 commit comments

Comments
 (0)