[Libreoffice] message construction bloat ...

Tor Lillqvist tml at iki.fi
Wed Nov 23 05:36:24 PST 2011


>  "Value is %" SAL_PRIdINT32, n

(presumably n here is then sal_Int32?)

On which of the platforms that we support is %d not a proper format
for sal_Int32?

Even in the unlikely case that on some platform int indeed is larger
(for instance 64 bits) than sal_Int32, won't the usual conversions
take care of extending the sal_Int32 to the int that %d expects?

And anyway, one more reason to just use "int" instead of sal_Int32 in
most cases...

--tml


More information about the LibreOffice mailing list