diff options
author | dzwdz | 2022-08-04 21:43:38 +0200 |
---|---|---|
committer | dzwdz | 2022-08-04 21:43:38 +0200 |
commit | 26dc784103914b9d6ba36e0a96fa4b3af977626f (patch) | |
tree | d1c9938bac9426d4f6709344315d845b45b20865 /src/shared | |
parent | 81a58004d51547d074b4218f906b0b95f2b2c5dc (diff) |
user/tests: split the tests by parts of codebase
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/printf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/printf.c b/src/shared/printf.c index f019ac4..4e81603 100644 --- a/src/shared/printf.c +++ b/src/shared/printf.c @@ -47,8 +47,7 @@ static void pad(struct out_state *os, struct mods *m, size_t len) { } static void output_uint(struct out_state *os, struct mods *m, unsigned long long n) { - // TODO static assert sizeof(unsigned long long) <= 8 - char buf[20]; + char buf[sizeof(unsigned long long) * 3]; size_t pos = sizeof(buf); if (!n) { |