Skip to content

Instantly share code, notes, and snippets.

@aaronjg
aaronjg / gist:f39e5966687ca004dab5a10e7655c648
Last active May 23, 2018 22:38
scan.c long vector patch
--- R-3.5.0/src/main/scan.c 2017-03-23 16:03:34.000000000 -0700
+++ ../R-3.5.0/src/main/scan.c 2018-05-23 15:01:36.128291864 -0700
@@ -484,7 +484,7 @@
error(_("scan() expected '%s', got '%s'"), what, got);
}
-static void extractItem(char *buffer, SEXP ans, int i, LocalData *d)
+static void extractItem(char *buffer, SEXP ans, R_xlen_t i, LocalData *d)
{
char *endp;