[vlc-devel] [PATCH 3/3] pulse: Trivial compiler warning fixes in debug mode

Colin Guthrie gmane at colin.guthr.ie
Tue Jun 8 09:49:19 CEST 2010


'Twas brillig, and Christophe Mutricy at 08/06/10 01:27 did gyre and gimble:
> On Tue, Jun 08, 10 at 00:34 +0100, Colin Guthrie wrote:
>> -    PULSE_DEBUG( "Pulse stream request %d", length);
>> +    PULSE_DEBUG( "Pulse stream request %d", (int)length);
> 
> Better use %zu than casting. (See
> http://www.remlab.net/op/integer.shtml) 

Ahh yeah. OK, ignore that patch then :)

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the vlc-devel mailing list