aboutsummaryrefslogtreecommitdiff
path: root/hurd/report-wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/report-wait.c')
-rw-r--r--hurd/report-wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/report-wait.c b/hurd/report-wait.c
index da0ca3b..296b2ee 100644
--- a/hurd/report-wait.c
+++ b/hurd/report-wait.c
@@ -140,7 +140,7 @@ _S_msg_report_wait (mach_port_t msgport, thread_t thread,
error_t err;
err = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR,
- (integer_t *) &state, &count);
+ (natural_t *) &state, &count);
if (err)
return err;
assert (count == MACHINE_THREAD_STATE_COUNT);