File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1911,8 +1911,9 @@ int freadMain(freadMainArgs _args) {
19111911 } else if (jump0size == 0 ) {
19121912 DTPRINT (_ (" Number of sampling jump points = %d because jump0size==0\n" ), nJumps );
19131913 } else {
1914- DTPRINT (_ (" Number of sampling jump points = %d because (%td bytes from row 1 to eof) / (2 * %td jump0size) == %td\n" ),
1915- nJumps , sz , jump0size , sz /(2 * jump0size ));
1914+ DTPRINT (_ (" Number of sampling jump points = %d because (%ld bytes from row 1 to eof) / (2 * %ld jump0size) == %ld\n" ),
1915+ // NB: ptrdiff_t should use '%td', but that's a C99 addition, which may not work with old Rtools (pre-Rtools42)
1916+ nJumps , (long int )sz , (long int )jump0size , (long int )(sz /(2 * jump0size )));
19161917 }
19171918 }
19181919 nJumps ++ ; // the extra sample at the very end (up to eof) is sampled and format checked but not jumped to when reading
You can’t perform that action at this time.
0 commit comments