Subject: Re: port-sparc64/26010: pf doesn't compile on sparc64
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 06/23/2004 20:47:56
> >Synopsis:       pf doesn't compile on sparc64

>  #else
>  			printf("pf: state insert failed: "
>  			    "id: %016llx creatorid: %08x",
> -			    be64toh(state->id), ntohl(state->creatorid));
> +			    (unsigned long long)be64toh(state->id),
> +			    ntohl(state->creatorid));

Wouldn't ...%016" PRIx64 " creator... be better?

	David

-- 
David Laight: david@l8s.co.uk