about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-05 21:13:25 +0000
committerRoland McGrath <roland@gnu.org>1995-11-05 21:13:25 +0000
commite380bf624861b38777a52918fceff106ce698d3a (patch)
tree5cb4cfa38ee00a71fe53bfb8b6ec72ce86c223dd
parent853f0eead1fcab44fa3339a6b171da9bfc7840d8 (diff)
downloadglibc-e380bf624861b38777a52918fceff106ce698d3a.tar.gz
glibc-e380bf624861b38777a52918fceff106ce698d3a.tar.xz
glibc-e380bf624861b38777a52918fceff106ce698d3a.zip
Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* sysdeps/mach/hurd/getpriority.c (getpriority): Cast
	__vm_deallocate arg to vm_address_t.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/mach/hurd/getpriority.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d141bcbc44..43e099abb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov  5 16:09:13 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+	* sysdeps/mach/hurd/getpriority.c (getpriority): Cast
+	__vm_deallocate arg to vm_address_t.
+
 Fri Nov  3 17:27:49 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
 	* sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
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 (),