aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux/sys.odin
diff options
context:
space:
mode:
authorA1029384756 <hayden.gray104@gmail.com>2024-11-13 00:09:38 -0500
committerA1029384756 <hayden.gray104@gmail.com>2024-11-13 00:09:38 -0500
commit37441bd7306d8f7c5775ec84d0c8efb4d73a8fe4 (patch)
tree3978bb4b318f2ac9f07f46bf0443dcf057032460 /core/sys/linux/sys.odin
parentbb2033898781affb1dbca2cb9e8635e1db237c4f (diff)
core:sys/linux - fixed vet errors
Diffstat (limited to 'core/sys/linux/sys.odin')
-rw-r--r--core/sys/linux/sys.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/linux/sys.odin b/core/sys/linux/sys.odin
index 819edc4a5..9adeda610 100644
--- a/core/sys/linux/sys.odin
+++ b/core/sys/linux/sys.odin
@@ -2559,7 +2559,7 @@ inotify_rm_watch :: proc "contextless" (fd: Fd, wd: Wd) -> (Errno) {
// helper procedure to access the data within an `Inotify_Event`
// since Odin doesn't have an alternative to `__flexarr`
inotify_event_name :: proc "contextless" (event: ^Inotify_Event) -> cstring {
- return transmute(cstring)&event.name
+ return transmute(cstring)uintptr(&event.name)
}
// TODO(flysand): migrate_pages