[vlc-devel] [RFC] Wrapper to work around %z limitation on Windows

Jean-Baptiste Kempf jb at videolan.org
Tue Feb 24 12:52:15 CET 2009

On Tue, Feb 24, 2009 at 12:47:28PM +0100, Rémi Denis-Courmont wrote :
> On Tue, 24 Feb 2009 12:08:18 +0100, Pierre Ynard <linkfanel at yahoo.fr>
> wrote:
> > This patch works around unsupported %z modifiers, by using a wrapper
> > that patches the format string on the fly. The format string is
> > duplicated, and "%z"'s are replaced by "%l"'s.
> I fancy the high-level idea - but isn't long shorter than size_t on Win64?

IIRC, on LLP64 long is 32 bit and size_t is 64bit, IIRC.

Best Regards,

Jean-Baptiste Kempf

More information about the vlc-devel mailing list