Skip to content

Commit a05cd02

Browse files
committed
Fix Mode definition as in #12132
1 parent a4a7d12 commit a05cd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/posix/posix_openbsd_amd64.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ type
140140
Id* {.importc: "id_t", header: "<sys/types.h>".} = int
141141
Ino* {.importc: "ino_t", header: "<sys/types.h>".} = int
142142
Key* {.importc: "key_t", header: "<sys/types.h>".} = int
143-
Mode* {.importc: "mode_t", header: "<sys/types.h>".} = int16
143+
Mode* {.importc: "mode_t", header: "<sys/types.h>".} = uint32
144144
Nlink* {.importc: "nlink_t", header: "<sys/types.h>".} = int16
145145
Off* {.importc: "off_t", header: "<sys/types.h>".} = int64
146146
Pid* {.importc: "pid_t", header: "<sys/types.h>".} = int32

0 commit comments

Comments
 (0)