summary refs log tree commit diff stats
path: root/lib/system/threadlocalstorage.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/threadlocalstorage.nim')
-rw-r--r--lib/system/threadlocalstorage.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/threadlocalstorage.nim b/lib/system/threadlocalstorage.nim
index cea9abb42..b62c903c3 100644
--- a/lib/system/threadlocalstorage.nim
+++ b/lib/system/threadlocalstorage.nim
@@ -141,7 +141,7 @@ else:
                      header: "<pthread.h>".} = cint
   else:
     type
-      SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = object
+      SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = int
       Pthread_attr {.importc: "pthread_attr_t",
                        header: "<sys/types.h>".} = object
       ThreadVarSlot {.importc: "pthread_key_t",