ref: 6419ee410e0f2e6288624e266b7e3d8396b471c6
parent: c75979bf120acf8ed3fea33d5e29668f4ab72e36
author: Michael Forney <[email protected]>
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;