summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorSebastian Lipponer <mail@sebastianlipponer.de>2019-12-10 13:24:07 +0100
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-12-10 21:24:07 +0900
commit52c275c51e253223230e235584ab07523a830303 (patch)
treedc9217e198ee96c94c9bb5f002c25540794ff9ee /src/daemon
parentcd040a4ce1ea3d2008048083a862461596cd2cd2 (diff)
downloadDLT-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.c2
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,