We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8029d6 commit 43828b5Copy full SHA for 43828b5
nanoprintf.h
@@ -1,4 +1,4 @@
1
-/* nanoprintf v0.5.2: a tiny embeddable printf replacement written in C.
+/* nanoprintf v0.5.3: a tiny embeddable printf replacement written in C.
2
https://github.com/charlesnicholson/nanoprintf
3
[email protected]
4
dual-licensed under 0bsd and unlicense, take your pick. see eof for details. */
@@ -276,9 +276,7 @@ typedef struct npf_bufputc_ctx {
276
} npf_bufputc_ctx_t;
277
278
#if NANOPRINTF_USE_LARGE_FORMAT_SPECIFIERS == 1
279
- //compile-time assertion
280
- typedef char npf_ssize_t_and_ptrdiff_t_have_same_size[(sizeof(size_t) == sizeof(ptrdiff_t)) ? 1 : -1];
281
-
+ typedef char npf_size_is_ptrdiff[(sizeof(size_t) == sizeof(ptrdiff_t)) ? 1 : -1];
282
typedef ptrdiff_t npf_ssize_t;
283
#endif
284
0 commit comments