On 32 bit systems "size_t" needed to be cast, and on 64bit systems all the NSPR integer data types needed to be cast when formatting output for logging.
https://fedorahosted.org/389/ticket/47450
https://fedorahosted.org/389/attachment/ticket/47450/0001-Ticket-47450-Fix-c...