Some platforms are now warning on sprintf being unsafe by default. This removes all uses of sprintf for all platforms and replaces them with other built-in methods for conversions or with minimal use of snprintf.
Types of changes
What types of changes does your code introduce?
[x] Bugfix (non-breaking change which fixes an issue)
[x] Refactoring (no functional changes, no api changes)
Proposed changes
Some platforms are now warning on sprintf being unsafe by default. This removes all uses of sprintf for all platforms and replaces them with other built-in methods for conversions or with minimal use of snprintf.
Types of changes
What types of changes does your code introduce?
Further comments
Supersedes https://github.com/bfgroup/b2/pull/240