summary refs log tree commit diff stats
path: root/lib/posix/posix_other.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2018-01-03 11:46:55 +0000
committerAndreas Rumpf <rumpf_a@web.de>2018-01-03 12:46:55 +0100
commit22cc7c62e5f1c22e0eda1037a6587153ffa6badf (patch)
tree884eb7b439e4daa876df32a8f9c00e0be40ddbea /lib/posix/posix_other.nim
parent23c77ffa3aac532175ec289c5e8c31f4a28f1b2c (diff)
downloadNim-22cc7c62e5f1c22e0eda1037a6587153ffa6badf.tar.gz
Fixes `times` module compilation on cpp backend. (#7004)
Diffstat (limited to 'lib/posix/posix_other.nim')
-rw-r--r--lib/posix/posix_other.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim
index e552bf807..01bc1c1e5 100644
--- a/lib/posix/posix_other.nim
+++ b/lib/posix/posix_other.nim
@@ -34,7 +34,7 @@ type
 {.deprecated: [TSocketHandle: SocketHandle].}
 
 type
-  Time* {.importc: "time_t", header: "<time.h>".} = distinct int
+  Time* {.importc: "time_t", header: "<time.h>".} = distinct clong
 
   Timespec* {.importc: "struct timespec",
                header: "<time.h>", final, pure.} = object ## struct timespec