summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/getpriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getpriority.c')
-rw-r--r--sysdeps/mach/hurd/getpriority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getpriority.c b/sysdeps/mach/hurd/getpriority.c
index 3d7af4d3bb..30497bdbe5 100644
--- a/sysdeps/mach/hurd/getpriority.c
+++ b/sysdeps/mach/hurd/getpriority.c
@@ -48,7 +48,7 @@ getpriority (enum __priority_which which, int who)
&pi, &pisize,
&tw, &twsz));
if (twsz)
- __vm_deallocate (__mach_task_self (), tw, twsz);
+ __vm_deallocate (__mach_task_self (), (vm_address_t) tw, twsz);
if (pi != oldpi && oldpi != pibuf)
/* Old buffer from last call was not reused; free it. */
__vm_deallocate (__mach_task_self (),