[FFmpeg-devel] [PATCH] libavdevice/v4l2.c: av_log DEBUG cast
Måns Rullgård
mans
Fri Feb 13 15:27:34 CET 2009
Patrik Kullman <patrik at yes.nu> writes:
> On Tue, 2009-02-10 at 19:41 +0000, M?ns Rullg?rd wrote:
>> Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
>>
>> > On Tue, Feb 10, 2009 at 06:28:52PM +0000, M?ns Rullg?rd wrote:
>> >> Luca Abeni <lucabe72 at email.it> writes:
>> >> > Looks like the correct patch is changing "PRIu64" in Lu (linux's __u64
>> >> > is not uint64_t...)
>> >>
>> >> %Lu is not a standard format specifier. The standard modifier for
>> >> "long long" is ll, but I'm not sure what the actual underlying type
>> >> here is.
>> >
>> > Please do not use "ll", it does not work on MinGW.
>>
>> That doesn't matter, since the entire file is Linux-specific.
>
> Does this mean we can use %Lu?
> Since that seems to work on both 32 and 64 bit Linux?
No. %Lu, where it exists, is exactly equivalent to %llu. %llu is
standard and is thus always more correct.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list