about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdprio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdprio.c b/hurd/hurdprio.c
index 9c9ed2ba7e..bbbe317406 100644
--- a/hurd/hurdprio.c
+++ b/hurd/hurdprio.c
@@ -68,7 +68,7 @@ _hurd_priority_which_map (enum __priority_which which, int who,
 	    continue;
 	  if (twsz)
 	    /* Gratuitous.  */
-	    __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 (),