mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
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.
This commit is contained in:
parent
853f0eead1
commit
e380bf6248
@ -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>
|
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
|
* sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
|
||||||
|
@ -48,7 +48,7 @@ getpriority (enum __priority_which which, int who)
|
|||||||
&pi, &pisize,
|
&pi, &pisize,
|
||||||
&tw, &twsz));
|
&tw, &twsz));
|
||||||
if (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)
|
if (pi != oldpi && oldpi != pibuf)
|
||||||
/* Old buffer from last call was not reused; free it. */
|
/* Old buffer from last call was not reused; free it. */
|
||||||
__vm_deallocate (__mach_task_self (),
|
__vm_deallocate (__mach_task_self (),
|
||||||
|
Loading…
Reference in New Issue
Block a user