This commit is contained in:
Cloud Wu
2021-02-03 16:04:01 +08:00
parent 4534fb5269
commit e23ad8fc6b
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ _return_message(struct databuffer *db, struct messagepool *mp) {
}
static void
databuffer_read(struct databuffer *db, struct messagepool *mp, void * buffer, int sz) {
databuffer_read(struct databuffer *db, struct messagepool *mp, char * buffer, int sz) {
assert(db->size >= sz);
db->size -= sz;
for (;;) {