Skip to content

Commit 81a7420

Browse files
MarcoFalkeRandyMcMillan
authored andcommitted
doc: Clarify strprintf size specifier note
1 parent 57e4806 commit 81a7420

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
@@ -971,7 +971,7 @@ Strings and formatting
971971
buffer overflows, and surprises with `\0` characters. Also, some C string manipulations
972972
tend to act differently depending on platform, or even the user locale.
973973
974-
- For `strprintf`, `LogInfo`, `LogDebug`, etc formatting characters don't need size specifiers.
974+
- For `strprintf`, `LogInfo`, `LogDebug`, etc formatting characters don't need size specifiers (hh, h, l, ll, j, z, t, L) for arithmetic types.
975975
976976
- *Rationale*: Bitcoin Core uses tinyformat, which is type safe. Leave them out to avoid confusion.
977977

0 commit comments

Comments
 (0)