fix deprecated messages regarding high (#15832)
This commit is contained in:
parent
d62f3627aa
commit
75dc69417a
2 changed files with 2 additions and 2 deletions
|
|
@ -856,7 +856,7 @@ when not defined(useNimRtl):
|
|||
gch.cycleThreshold = InitialCycleThreshold
|
||||
|
||||
proc GC_disableMarkAndSweep() =
|
||||
gch.cycleThreshold = high(gch.cycleThreshold)-1
|
||||
gch.cycleThreshold = high(typeof(gch.cycleThreshold))-1
|
||||
# set to the max value to suppress the cycle detector
|
||||
|
||||
proc GC_fullCollect() =
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ when not defined(useNimRtl):
|
|||
gch.cycleThreshold = InitialThreshold
|
||||
|
||||
proc GC_disableMarkAndSweep() =
|
||||
gch.cycleThreshold = high(gch.cycleThreshold)-1
|
||||
gch.cycleThreshold = high(typeof(gch.cycleThreshold))-1
|
||||
# set to the max value to suppress the cycle detector
|
||||
|
||||
when defined(nimTracing):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue