(getpriority): Cast __vm_deallocate arg to vm_address_t.
authorroland <roland>
Sun, 5 Nov 1995 21:08:57 +0000 (21:08 +0000)
committerroland <roland>
Sun, 5 Nov 1995 21:08:57 +0000 (21:08 +0000)
sysdeps/mach/hurd/getpriority.c

index 3d7af4d..30497bd 100644 (file)
@@ -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 (),