bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix compiler warnings in hurd/utils


From: Samuel Thibault
Subject: Re: [PATCH] fix compiler warnings in hurd/utils
Date: Tue, 29 Dec 2015 23:24:23 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Flavio Cruz, on Tue 29 Dec 2015 23:15:01 +0100, wrote:
> @@ -414,7 +414,7 @@ cmd_umask (pid_t pid, mach_port_t msgport, int argc, char 
> *argv[])
>      }
>    else
>      {
> -      err = msg_get_init_int (msgport, task, INIT_UMASK, &umask);
> +      err = msg_get_init_int (msgport, task, INIT_UMASK, (int *) &umask);

Mmm, I'd rather use an int value, in case mode_t turns out to be another
type someday.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]