We have a mozilla/SizePrintfMacros.h header which defines "PRIuSIZE" for this purpose.
Cheers, Botond On Tue, Jul 25, 2017 at 12:43 PM, Honza Bambas <[email protected]> wrote: > In light of using PRxx formatting macros from inttypes.h, what is the right > approach to printf size_t types (like our nsTArray::Length()) ? > > Not sure if to use "%zu" directly. > > Thanks. > -hb- > > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

