diff options
author | Anton Kling <anton@kling.gg> | 2024-04-18 16:47:36 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-04-18 16:47:36 +0200 |
commit | 568a0b7017e8e779731325083015907b006866c3 (patch) | |
tree | ae2f78d7fee945a90e29eb3eb71024be43077d76 /userland/libc/include/tb | |
parent | cc2b68cb26738dce0c7696ca0fe5b0cd8b24c171 (diff) |
LibC: Fix compiler warnings
It can now compile with almost all compiler warnings turned on without
producing any warnings.
Diffstat (limited to 'userland/libc/include/tb')
-rw-r--r-- | userland/libc/include/tb/sb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/libc/include/tb/sb.h b/userland/libc/include/tb/sb.h index 5675985..84f8161 100644 --- a/userland/libc/include/tb/sb.h +++ b/userland/libc/include/tb/sb.h @@ -16,7 +16,7 @@ void sb_free(struct sb *ctx); void sb_reset(struct sb *ctx); int sb_isempty(const struct sb *ctx); void sb_append_char(struct sb *ctx, char c); -int sb_delete_right(struct sb *ctx, int n); +int sb_delete_right(struct sb *ctx, size_t n); void sb_append(struct sb *ctx, const char *s); void sb_append_sv(struct sb *ctx, struct sv sv); void sb_prepend_sv(struct sb *ctx, struct sv sv); |