summary refs log tree commit diff
path: root/hurd/hurdprio.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-11 10:01:11 +0000
committerRoland McGrath <roland@gnu.org>1995-11-11 10:01:11 +0000
commitaccc07a981d919a8f592285011fb2b6a417db001 (patch)
tree20fbf100576ad707c54a03841871ca492529cd51 /hurd/hurdprio.c
parent75914335da0fd12367af3072dce4f7083829f09e (diff)
downloadglibc-accc07a981d919a8f592285011fb2b6a417db001.tar.gz
glibc-accc07a981d919a8f592285011fb2b6a417db001.tar.xz
glibc-accc07a981d919a8f592285011fb2b6a417db001.zip
* malloc/malloc.c (align): Assert that space for alignment cvs/libc-951113 cvs/libc-951112 cvs/libc-951111
	adjustment is same original space.

	* hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
	arg to vm_address_t.
Diffstat (limited to 'hurd/hurdprio.c')
-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 (),