OpenSSH warnings on FreeBSD

Arthur Mesh amesh at juniper.net
Wed Dec 5 05:51:26 EST 2012


On Tue, Dec 04, 2012 at 04:05:51PM +0400, Loganaden Velvindron wrote:
> on FreeBSD, gcc complains that %d is used for sig_atomic_t
> 
> Casting to (int) as a solution ?

I think casting to intmax_t is a safer approach, together with changing
the format to %jd (although I am not sure how portable this is).

-- 
Arthur Mesh <amesh at juniper.net>
Juniper Networks
+1 408 936-4968


More information about the openssh-unix-dev mailing list