diff options
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/dlt_daemon_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_socket.c b/src/daemon/dlt_daemon_socket.c index 63a1a12..d4fa8b8 100644 --- a/src/daemon/dlt_daemon_socket.c +++ b/src/daemon/dlt_daemon_socket.c @@ -192,7 +192,7 @@ int dlt_daemon_socket_sendreliable(int sock, void *data_buffer, int message_size int data_sent = 0; while (data_sent < message_size) { - ssize_t ret = send(sock, data_buffer + data_sent, message_size - data_sent, 0); + ssize_t ret = send(sock, (char *)data_buffer + data_sent, message_size - data_sent, 0); if (ret < 0) { dlt_vlog(LOG_WARNING, |