diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-11 13:00:34 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-11 13:00:34 -0400 |
commit | f86e7f77c0a8e8e7a1751ac27659546623d92df8 (patch) | |
tree | a2b73271d6b8d6640432c12511b5ca083bc219ca /user/lib | |
parent | fmt (diff) | |
download | comus-f86e7f77c0a8e8e7a1751ac27659546623d92df8.tar.gz comus-f86e7f77c0a8e8e7a1751ac27659546623d92df8.tar.bz2 comus-f86e7f77c0a8e8e7a1751ac27659546623d92df8.zip |
fix %n
Diffstat (limited to 'user/lib')
-rw-r--r-- | user/lib/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/lib/printf.c b/user/lib/printf.c index 38b9446..274fa72 100644 --- a/user/lib/printf.c +++ b/user/lib/printf.c @@ -501,7 +501,7 @@ static void do_printf(context_t *ctx, va_list args) // very terrible why in the love of FUCKING GOD would you do this // but its in printf so im adding it for you fucks case 'n': { - size_t *bad = va_arg(args, size_t *); + int *bad = va_arg(args, int *); *bad = ctx->written_len; break; } |