From 360ccb0463aa7cf766d3a8228558cdc6478309a1 Mon Sep 17 00:00:00 2001 From: Dinh Cong Toan Date: Thu, 19 Nov 2020 18:41:13 +0700 Subject: other: fix remaining conversion warnings - Converting datatype to the correct one. - As macro do not perform type-checking before, so these functions used it with different datatype could create a lot of conversion warnings. For this reason, these warnings could be consider as normal information and will not be fixed. Signed-off-by: Dinh Cong Toan --- src/tests/dlt-test-stress-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/dlt-test-stress-client.c') diff --git a/src/tests/dlt-test-stress-client.c b/src/tests/dlt-test-stress-client.c index 1210386..e435a00 100644 --- a/src/tests/dlt-test-stress-client.c +++ b/src/tests/dlt-test-stress-client.c @@ -447,7 +447,7 @@ int dlt_testclient_message_callback(DltMessage *message, void *data) length_tmp = 0; /* the macro can set this variable to -1 */ ptr = message->databuffer; - datalength = message->datasize; + datalength = (int32_t) message->datasize; /* first read the type info of the first argument: must be string */ DLT_MSG_READ_VALUE(type_info_tmp, ptr, datalength, uint32_t); -- cgit v1.2.1