Skip to content

Commit 63fd640

Browse files
committed
fix casting in getUInt
1 parent d1b7fe0 commit 63fd640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

struct.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ proc getInt*(node: StructNode): int32 {.noSideEffect, inline.} =
113113
node.num.int32
114114
115115
proc getUInt*(node: StructNode): uint32 {.noSideEffect, inline.} =
116-
node.num.uint16
116+
node.num.uint32
117117
118118
proc getQuad*(node: StructNode): int64 {.noSideEffect, inline.} =
119119
node.num.int64

0 commit comments

Comments
 (0)