Skip to content

Commit 7620b46

Browse files
authored
fixed AS_DIGIT macro (#6977)
1 parent 2a1f102 commit 7620b46

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
@@ -107,7 +107,7 @@ static void Field(FieldParseContext *ctx);
107107
#define ASSERT(cond, msg, ...) if (!(cond)) INTERNAL_STOP(msg, __VA_ARGS__) // # nocov
108108

109109
#define AS_DIGIT(x) (uint_fast8_t)(x - '0')
110-
#define IS_DIGIT(x) AS_DIGIT(x) < 10
110+
#define IS_DIGIT(x) (AS_DIGIT(x) < 10)
111111

112112
//=================================================================================================
113113
//

0 commit comments

Comments
 (0)