Skip to content

Commit 9367451

Browse files
committed
readded const
1 parent 81deaa9 commit 9367451

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
@@ -2544,7 +2544,7 @@ int freadMain(freadMainArgs _args)
25442544
if (thisType != joldType) { // rare out-of-sample type exception.
25452545
if (!checkedNumberOfFields && !fill) {
25462546
// check this line has the correct number of fields. If not, don't apply the bump from this invalid line. Instead fall through to myStopEarly below.
2547-
char* fieldsRemaining = fieldStart;
2547+
const char* fieldsRemaining = fieldStart;
25482548
if (j + countfields(&fieldsRemaining) != ncol) break;
25492549
checkedNumberOfFields = true;
25502550
}

0 commit comments

Comments
 (0)