ref: 5b2fa83efcd77eb4c9c1083da0df5f78ab9a76c2
parent: d40d407c6cbecf226a9ec24d316520e506659730
author: Michael Forney <mforney@mforney.org>
date: Thu Feb 3 05:54:11 EST 2022
fs: change type of readb size argument to vlong The file size may very well exceed the range of int.
--- a/fs.c
+++ b/fs.c
@@ -240,7 +240,7 @@
}
static int
-readb(Fid *f, char *d, vlong o, vlong n, int sz)
+readb(Fid *f, char *d, vlong o, vlong n, vlong sz)
{
char *e, buf[17], kvbuf[17+32];
vlong fb, fo;