summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorLassi Marttala <lassi.lm.marttala@partner.bmw.de>2012-06-06 12:30:01 +0200
committerChristian Muck <christian.muck@bmw.de>2012-06-13 23:53:26 +0200
commit4dcb40918c0e2ea9352d2182898cf335519f65a4 (patch)
tree7f62e9f3a1ebc29667592a9c3bf77812912e57b7 /src/daemon
parent5be08ef4741ced129bf5b150d5ac0d9943b10175 (diff)
downloadDLT-daemon-4dcb40918c0e2ea9352d2182898cf335519f65a4.tar.gz
[GDLT-24]: Fix for a compiler warning.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/dlt_daemon_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_common.c b/src/daemon/dlt_daemon_common.c
index 7b96a9d..5704d56 100644
--- a/src/daemon/dlt_daemon_common.c
+++ b/src/daemon/dlt_daemon_common.c
@@ -1236,7 +1236,8 @@ void dlt_daemon_control_callsw_cinjection(int sock, DltDaemon *daemon, DltMessag
uint32_t id=0,id_tmp=0;
uint8_t *ptr;
DltDaemonContext *context;
- uint32_t data_length_inject=0,data_length_inject_tmp=0;
+ int32_t data_length_inject=0;
+ uint32_t data_length_inject_tmp=0;
int32_t datalength;