restore 1.6 compat (#61)
This commit is contained in:
parent
c246d00eaa
commit
cf8d4d2263
|
@ -28,7 +28,7 @@ jobs:
|
|||
cpu: arm64
|
||||
- os: windows
|
||||
cpu: amd64
|
||||
branch: [version-2-0, version-2-2, devel]
|
||||
branch: [version-1-6, version-2-0, version-2-2, devel]
|
||||
include:
|
||||
- target:
|
||||
os: linux
|
||||
|
|
|
@ -59,7 +59,7 @@ func openArrayToPair*(a: var openArray[byte]): (ptr byte, Natural) =
|
|||
if a.len > 0:
|
||||
(addr a[0], Natural(a.len))
|
||||
else:
|
||||
(nil, 0)
|
||||
(nil, Natural(0))
|
||||
|
||||
template allocationStart*(page: PageRef): ptr byte =
|
||||
baseAddr page.data[]
|
||||
|
|
Loading…
Reference in New Issue