consumedTo becomes negative to indicate delayed writes, so use type that allows for that
This commit is contained in:
parent
07184af965
commit
38c83660fa
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ type
|
||||||
startAddr*, endAddr*: ptr byte
|
startAddr*, endAddr*: ptr byte
|
||||||
|
|
||||||
Page* = object
|
Page* = object
|
||||||
consumedTo*: Natural
|
consumedTo*: int
|
||||||
writtenTo*: Natural
|
writtenTo*: Natural
|
||||||
data*: ref string
|
data*: ref string
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue