diff options
| author | Timothee Cour <timothee.cour2@gmail.com> | 2018-11-27 19:51:04 -0500 |
|---|---|---|
| committer | Timothee Cour <timothee.cour2@gmail.com> | 2018-11-27 20:09:00 -0500 |
| commit | 3a3c1f5e57781af29b433c1f320849e3fbb1ade3 (patch) | |
| tree | a690c19e93f5cf172729d7d96ab5e9308b6e21b3 | |
| parent | 51180f63738ad6cb1a3b621b1ad35de5a3f19fc5 (diff) | |
| download | nimterop-3a3c1f5e57781af29b433c1f320849e3fbb1ade3.tar.gz nimterop-3a3c1f5e57781af29b433c1f320849e3fbb1ade3.zip | |
fix 32bit builds
| -rw-r--r-- | nimterop/globals.nim | 2 | ||||
| -rw-r--r-- | nimterop/lisp.nim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nimterop/globals.nim b/nimterop/globals.nim index ae3d03b..8797af8 100644 --- a/nimterop/globals.nim +++ b/nimterop/globals.nim @@ -14,7 +14,7 @@ type Ast* = object sym*: Sym - start*, stop*: uint32 + start*, stop*: int parent*: ref Ast children*: seq[ref Ast] diff --git a/nimterop/lisp.nim b/nimterop/lisp.nim index 36c810a..44d609f 100644 --- a/nimterop/lisp.nim +++ b/nimterop/lisp.nim @@ -41,8 +41,8 @@ proc readFromTokens(): ref Ast = result.sym = parseEnum[Sym](gTokens[idx+1]) except: result.sym = IGNORED - result.start = gTokens[idx+2].parseInt().uint32 - result.stop = gTokens[idx+3].parseInt().uint32 + result.start = gTokens[idx+2].parseInt() + result.stop = gTokens[idx+3].parseInt() result.children = @[] idx += 4 while gTokens[idx] != ")": |
