From 8b895afcb59222723a278f2322f457470d8f1bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20D=C3=A9ly?= Date: Mon, 9 Sep 2024 11:45:58 +0200 Subject: [PATCH] fix: InotifyEvent.name should be UncheckedArray[char] (#23413) --- lib/posix/inotify.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posix/inotify.nim b/lib/posix/inotify.nim index db68dbecb0..575accc18c 100644 --- a/lib/posix/inotify.nim +++ b/lib/posix/inotify.nim @@ -20,7 +20,7 @@ type mask* {.importc: "mask".}: uint32 ## Watch mask. cookie* {.importc: "cookie".}: uint32 ## Cookie to synchronize two events. len* {.importc: "len".}: uint32 ## Length (including NULs) of name. - name* {.importc: "name".}: char ## Name. + name* {.importc: "name".}: UncheckedArray[char] ## Name. # Supported events suitable for MASK parameter of INOTIFY_ADD_WATCH. const