Skip to content

Commit

Permalink
Merge vmg#124 of the original project
Browse files Browse the repository at this point in the history
  • Loading branch information
dokutoku committed Mar 11, 2023
2 parents 1b102f9 + 80b04fd commit 6fd5f76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 6fd5f76

Please sign in to comment.