summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2022-07-18 06:44:47 +0200
committerGitHub <noreply@github.com>2022-07-18 06:44:47 +0200
commitc6264ed847422671e025a45ea66412dc6812f4c5 (patch)
treeeb8c67918cbd38fe7d5a8cd4cbf43ef7fe8ae106 /lib
parentefdcc0016913918eb303f5c34ae805b94f270a1a (diff)
downloadNim-c6264ed847422671e025a45ea66412dc6812f4c5.tar.gz
fix `pthread_mutex_t` size (#20055)
Diffstat (limited to 'lib')
-rw-r--r--lib/posix/posix_linux_amd64.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_linux_amd64.nim b/lib/posix/posix_linux_amd64.nim
index 2309e19a9..9a845853e 100644
--- a/lib/posix/posix_linux_amd64.nim
+++ b/lib/posix/posix_linux_amd64.nim
@@ -168,7 +168,7 @@ type
   Pthread_key* {.importc: "pthread_key_t", header: "<sys/types.h>".} = cuint
   Pthread_mutex* {.importc: "pthread_mutex_t", header: "<sys/types.h>",
                    pure, final.} = object
-    abi: array[48 div sizeof(clong), clong]
+    abi: array[40 div sizeof(clong), clong]
   Pthread_mutexattr* {.importc: "pthread_mutexattr_t",
                         header: "<sys/types.h>", pure, final.} = object
     abi: array[4 div sizeof(cint), cint]
/a> 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195