dossrv: fix falloc() for >31 bit sector numbers (thanks sl)

This commit is contained in:
cinap_lenrek 2020-04-05 03:46:47 +02:00
parent ecba7822e3
commit 0ba0820070

View file

@ -1683,7 +1683,8 @@ falloc(Xfs *xf)
{ {
Dosbpb *bp = xf->ptr; Dosbpb *bp = xf->ptr;
Iosect *p; Iosect *p;
int n, i, k; int n, i;
vlong k;
n = bp->freeptr; n = bp->freeptr;
for(;;){ for(;;){