doc: Clarify strprintf size specifier note

This commit is contained in:
MarcoFalke committed 2025-05-21 16:19:04 +02:00
1 parent faaf34ad72
commit fac8b05197
1 file changed
+1 -1
+1 -1
View File
@@ -972,7 +972,7 @@ Strings and formatting
buffer overflows, and surprises with `\0` characters. Also, some C string manipulations
tend to act differently depending on platform, or even the user locale.
- For `strprintf`, `LogInfo`, `LogDebug`, etc formatting characters don't need size specifiers.
- For `strprintf`, `LogInfo`, `LogDebug`, etc formatting characters don't need size specifiers (hh, h, l, ll, j, z, t, L) for arithmetic types.
- *Rationale*: Bitcoin Core uses tinyformat, which is type safe. Leave them out to avoid confusion.