Skip to content

Commit

Permalink
fixes nightlies failures (#24456)
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
ringabout authored Nov 19, 2024
1 parent a2031ec commit d8391a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/cbuilderbase.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8391a5

Please sign in to comment.