-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update release comment, tidy/golf the static assert (#272)
- Loading branch information
1 parent
c8029d6
commit 43828b5
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* nanoprintf v0.5.2: a tiny embeddable printf replacement written in C. | ||
/* nanoprintf v0.5.3: a tiny embeddable printf replacement written in C. | ||
https://github.com/charlesnicholson/nanoprintf | ||
[email protected] | ||
dual-licensed under 0bsd and unlicense, take your pick. see eof for details. */ | ||
|
@@ -276,9 +276,7 @@ typedef struct npf_bufputc_ctx { | |
} npf_bufputc_ctx_t; | ||
|
||
#if NANOPRINTF_USE_LARGE_FORMAT_SPECIFIERS == 1 | ||
//compile-time assertion | ||
typedef char npf_ssize_t_and_ptrdiff_t_have_same_size[(sizeof(size_t) == sizeof(ptrdiff_t)) ? 1 : -1]; | ||
|
||
typedef char npf_size_is_ptrdiff[(sizeof(size_t) == sizeof(ptrdiff_t)) ? 1 : -1]; | ||
typedef ptrdiff_t npf_ssize_t; | ||
#endif | ||
|
||
|