summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-03-18 00:46:53 +0100
committerAraq <rumpf_a@web.de>2015-03-18 11:42:37 +0100
commita82705071847458d2bc53843f7b6cdb5faff6dde (patch)
tree745907f923c7e1dfd0ce52f7f796fa9c6d67e808
parent910ef7b2d109f7516f8dab054bd0d41ff733047a (diff)
downloadNim-a82705071847458d2bc53843f7b6cdb5faff6dde.tar.gz
fixed cuint definition
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index d4e3fa2b3..23c911a19 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1224,7 +1224,7 @@ type # these work for most platforms:
     ## This is the same as the type ``unsigned char`` in *C*.
   cushort* {.importc: "unsigned short", nodecl.} = uint16
     ## This is the same as the type ``unsigned short`` in *C*.
-  cuint* {.importc: "int", nodecl.} = uint32
+  cuint* {.importc: "unsigned int", nodecl.} = uint32
     ## This is the same as the type ``unsigned int`` in *C*.
   culonglong* {.importc: "unsigned long long", nodecl.} = uint64
     ## This is the same as the type ``unsigned long long`` in *C*.