Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ bufputs(struct buf *buf, const char *str)

/* bufputc: appends a single uint8_t to a buffer */
void
bufputc(struct buf *buf, int c)
bufputc(struct buf *buf, uint8_t c)
{
assert(buf && buf->unit);

Expand Down
2 changes: 1 addition & 1 deletion src/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void bufput(struct buf *, const void *, size_t);
void bufputs(struct buf *, const char *);

/* bufputc: appends a single char to a buffer */
void bufputc(struct buf *, int);
void bufputc(struct buf *, uint8_t);

/* bufrelease: decrease the reference count and free the buffer if needed */
void bufrelease(struct buf *);
Expand Down