Skip to content

Commit ec0aa0b

Browse files
committed
make parser function table const
1 parent bf9681e commit ec0aa0b

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
@@ -1212,7 +1212,7 @@ static void parse_bool_yn(FieldParseContext *ctx)
12121212
* (5) Extend typeSxp, typeRName, typeEnum in freadR.c as appropriate
12131213
*/
12141214
typedef void (*reader_fun_t)(FieldParseContext *ctx);
1215-
static reader_fun_t fun[NUMTYPE] = {
1215+
static const reader_fun_t fun[NUMTYPE] = {
12161216
&Field, // CT_DROP
12171217
&parse_empty, // CT_EMPTY
12181218
&parse_bool_10,

0 commit comments

Comments
 (0)