about summary refs log tree commit diff
path: root/sysdeps/posix/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/defs.c')
-rw-r--r--sysdeps/posix/defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/defs.c b/sysdeps/posix/defs.c
index 4a12292f55..bc0d34bf15 100644
--- a/sysdeps/posix/defs.c
+++ b/sysdeps/posix/defs.c
@@ -32,7 +32,7 @@
     {									      \
       _IOMAGIC,								      \
       NULL, NULL, NULL, NULL, 0,					      \
-      (PTR) fd,								      \
+      (void *) fd,							      \
       { readwrite, /* ... */ },						      \
       { NULL, NULL, NULL, NULL, NULL },					      \
       { NULL, NULL },							      \