commit 3b43df553658505881a0461070bba785cc522408
parent 3c9d2d5948c51dc48e21bf8309caadb2f21c1ac0
Author: Joris Vink <joris@coders.se>
Date: Mon, 16 May 2016 09:45:27 +0200
remove useless cast.
Diffstat:
src/buf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/buf.c b/src/buf.c
@@ -78,7 +78,7 @@ kore_buf_appendv(struct kore_buf *buf, const char *fmt, va_list args)
b = sb;
}
- kore_buf_append(buf, (u_int8_t *)b, l);
+ kore_buf_append(buf, b, l);
if (b != sb)
free(b);
}