This model uses unsigned char buffers, but this temporary pointer is
declared as signed. Switch it to unsigned since it's just a temporary
variable to hold the new pointer.
+2021-06-16 Mike Frysinger <vapier@gentoo.org>
+
+ * dv-tx3904sio.c (tx3904sio_fifo_push): Change next_buf to
+ unsigned_1.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* dv-tx3904irc.c (tx3904irc_io_write_buffer): Initialize
if(fifo->size == fifo->used) /* full */
{
int next_size = fifo->size * 2 + 16;
- char* next_buf = zalloc(next_size);
+ unsigned_1* next_buf = zalloc(next_size);
memcpy(next_buf, fifo->buffer, fifo->used);
if(fifo->buffer != NULL) free(fifo->buffer);