From 38c83660fa3eaac1c5e049498721e71efdbb97e7 Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Thu, 17 Mar 2022 09:31:24 +0000 Subject: [PATCH] consumedTo becomes negative to indicate delayed writes, so use type that allows for that --- faststreams/buffers.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faststreams/buffers.nim b/faststreams/buffers.nim index 267616d..d7747b7 100644 --- a/faststreams/buffers.nim +++ b/faststreams/buffers.nim @@ -11,7 +11,7 @@ type startAddr*, endAddr*: ptr byte Page* = object - consumedTo*: Natural + consumedTo*: int writtenTo*: Natural data*: ref string