remove redundant cast

This commit is contained in:
Lennart Poettering 2009-01-27 00:53:31 +01:00
parent 9ba408415c
commit 07db64b9d3

View file

@ -600,7 +600,7 @@ static int sco_process_render(struct userdata *u) {
for (;;) { for (;;) {
ssize_t l; ssize_t l;
l = pa_loop_write(u->stream_fd, (uint8_t*) p, memchunk.length, NULL); l = pa_loop_write(u->stream_fd, p, memchunk.length, NULL);
pa_log_debug("Memblock written to socket: %li bytes", (long) l); pa_log_debug("Memblock written to socket: %li bytes", (long) l);
pa_assert(l != 0); pa_assert(l != 0);