diff options
author | Dinh Cong Toan <toan.dinhcong@vn.bosch.com> | 2021-08-05 11:28:59 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-08-06 13:52:04 +0900 |
commit | 655f8caa782742ec1565dd8683422dce8fa3f29a (patch) | |
tree | 21605972aff9ed1cf06e4cb0c4c49cb6b3e16123 | |
parent | 494ebe97026810bc6fc6f15cc014fa39c846ec48 (diff) | |
download | DLT-daemon-655f8caa782742ec1565dd8683422dce8fa3f29a.tar.gz |
dlt_user.c: fixing casting wrong type
Fixing casting incorrect type
Signed-off-by: Dinh Cong Toan <toan.dinhcong@vn.bosch.com>
-rw-r--r-- | src/lib/dlt_user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c index 8332356..518f2e4 100644 --- a/src/lib/dlt_user.c +++ b/src/lib/dlt_user.c @@ -4812,9 +4812,9 @@ DltReturnValue dlt_user_log_out_error_handling(void *ptr1, size_t len1, void *pt DLT_SEM_LOCK(); if (dlt_buffer_push3(&(dlt_user.startup_buffer), - ptr1, (unsigned char)len1, - ptr2, (unsigned char)len2, - ptr3, (unsigned char)len3) == DLT_RETURN_ERROR) { + ptr1, (unsigned int)len1, + ptr2, (unsigned int)len2, + ptr3, (unsigned int)len3) == DLT_RETURN_ERROR) { if (dlt_user.overflow_counter == 0) dlt_log(LOG_WARNING, "Buffer full! Messages will be discarded.\n"); |