aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--posix/sys/wait.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h
index 31afa65..d7a58ea 100644
--- a/posix/sys/wait.h
+++ b/posix/sys/wait.h
@@ -47,7 +47,7 @@ __BEGIN_DECLS
(__extension__ (((union { __typeof(status) __in; int __i; }) \
{ .__in = (status) }).__i))
# else
-# define __WAIT_INT(status) (*(int *) &(status))
+# define __WAIT_INT(status) (*(__const int *) &(status))
# endif
/* This is the type of the argument to `wait'. The funky union