pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47308: sane-backends DragonFly kodakaio.c:698: error: 'SOL_SOCKET' undeclared
The following reply was made to PR pkg/47308; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/47308: sane-backends DragonFly kodakaio.c:698: error:
'SOL_SOCKET' undeclared
Date: Tue, 11 Dec 2012 17:57:21 +0000
On Tue, Dec 11, 2012 at 05:55:03PM +0000, Ryo ONODERA wrote:
>>> kodakaio.c:968: warning: format '%d' expects type 'int', but argument 3
has type 'size_t'
>>
>> also these are probably worth patching.
>
> I cannot find this warning on DragonFly/i386 3.0.1.
Right, it's caused by having 64-bit size_t.
Changing the %d to %zu (or %zd if signed) for the cases that showed up
in the original PR is sufficient. If you don't want to do that blind,
I'll see to it eventually, but it'll take me a while.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index