speculative bug fix

This commit is contained in:
Adam D. Ruppe 2019-02-22 11:37:03 -05:00
parent 15e648f43e
commit 26868a7526
1 changed files with 1 additions and 1 deletions

2
cgi.d
View File

@ -3648,7 +3648,7 @@ class BufferedInputRange {
return;
}
view = underlyingBuffer[underlyingBuffer.ptr - view.ptr .. view.length + ret];
view = underlyingBuffer[view.ptr - underlyingBuffer.ptr .. view.length + ret];
} while(view.length < minBytesToSettleFor);
}