mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-07 04:14:19 +00:00
fixes nightlies failures (#24456)
https://github.com/nim-lang/nightlies/actions/runs/11904588983/job/33173656837#step:12:91 ``` /home/runner/work/nightlies/nightlies/nim/compiler/ccgexprs.nim(706, 23) Error: type mismatch Expression: cIntType(getSize(p.module.g.config, t) * 8) [1] getSize(p.module.g.config, t) * 8: int64 Expected one of (first mismatch at [position]): [1] proc cIntType(bits: int): Snippet ```
This commit is contained in:
@@ -151,10 +151,10 @@ const
|
||||
CPointer* = "void*"
|
||||
CConstPointer* = "NIM_CONST void*"
|
||||
|
||||
proc cIntType*(bits: int): Snippet =
|
||||
proc cIntType*(bits: BiggestInt): Snippet =
|
||||
"NI" & $bits
|
||||
|
||||
proc cUintType*(bits: int): Snippet =
|
||||
proc cUintType*(bits: BiggestInt): Snippet =
|
||||
"NU" & $bits
|
||||
|
||||
type
|
||||
|
||||
Reference in New Issue
Block a user