remove useless cast.

This commit is contained in:
Joris Vink 2016-05-16 09:45:27 +02:00
parent 3c9d2d5948
commit 3b43df5536
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}