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: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, dholland-pbugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47308: sane-backends DragonFly kodakaio.c:698: error:
 'SOL_SOCKET' undeclared
Date: Thu, 13 Dec 2012 18:39:48 +0900 (JST)

 Hi,
 
 From: David Holland <dholland-pbugs%NetBSD.org@localhost>, Date: Tue, 11 Dec 
2012 18:00:11 +0000 (UTC)
 
 >   >>> 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.
 
 Please look at this.
 
 Thank you.
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index