From a82705071847458d2bc53843f7b6cdb5faff6dde Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 18 Mar 2015 00:46:53 +0100 Subject: fixed cuint definition --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*. -- cgit 1.4.1-2-gfad0