diff options
author | Sebastian Lipponer <mail@sebastianlipponer.de> | 2019-12-10 13:24:07 +0100 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-12-10 21:24:07 +0900 |
commit | 52c275c51e253223230e235584ab07523a830303 (patch) | |
tree | dc9217e198ee96c94c9bb5f002c25540794ff9ee /src/daemon | |
parent | cd040a4ce1ea3d2008048083a862461596cd2cd2 (diff) | |
download | DLT-daemon-52c275c51e253223230e235584ab07523a830303.tar.gz |
Fix compiler warnings: pointer of type ‘void *’ used in arithmetic (#196)
Signed-off-by: Sebastian Lipponer <mail@sebastianlipponer.de>
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, |