Skip to content

Commit fac8b05

Browse files
author
MarcoFalke
committed
doc: Clarify strprintf size specifier note
1 parent faaf34a commit fac8b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/developer-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ Strings and formatting
972972
buffer overflows, and surprises with `\0` characters. Also, some C string manipulations
973973
tend to act differently depending on platform, or even the user locale.
974974
975-
- For `strprintf`, `LogInfo`, `LogDebug`, etc formatting characters don't need size specifiers.
975+
- For `strprintf`, `LogInfo`, `LogDebug`, etc formatting characters don't need size specifiers (hh, h, l, ll, j, z, t, L) for arithmetic types.
976976
977977
- *Rationale*: Bitcoin Core uses tinyformat, which is type safe. Leave them out to avoid confusion.
978978

0 commit comments

Comments
 (0)