Skip to content

Commit 6fd5f76

Browse files
author
dokutoku
committed
Merge vmg#124 of the original project
2 parents 1b102f9 + 80b04fd commit 6fd5f76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/buffer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ bufputs(struct buf *buf, const char *str)
173173

174174
/* bufputc: appends a single uint8_t to a buffer */
175175
void
176-
bufputc(struct buf *buf, int c)
176+
bufputc(struct buf *buf, uint8_t c)
177177
{
178178
assert(buf && buf->unit);
179179

src/buffer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void bufput(struct buf *, const void *, size_t);
7575
void bufputs(struct buf *, const char *);
7676

7777
/* bufputc: appends a single char to a buffer */
78-
void bufputc(struct buf *, int);
78+
void bufputc(struct buf *, uint8_t);
7979

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

0 commit comments

Comments
 (0)