summaryrefslogtreecommitdiff
path: root/src/console/dlt-control-common.h
diff options
context:
space:
mode:
authorDinh Cong Toan(RBVH/ECM12) <Toan.DinhCong@vn.bosch.com>2020-10-13 17:07:56 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commit1b3080cea4bb947917f7512ec530f79ce2481b08 (patch)
treea399bda88c8d0143ed0a6df7dccd83c75b41f121 /src/console/dlt-control-common.h
parent84788584b2accd96776762a688381737e1483361 (diff)
downloadDLT-daemon-1b3080cea4bb947917f7512ec530f79ce2481b08.tar.gz
console :fix conversion warnings
- Explicit type conversion from 'signed' to 'unsigned' Signed-off-by: Dinh Cong Toan(RBVH/ECM12) <Toan.DinhCong@vn.bosch.com>
Diffstat (limited to 'src/console/dlt-control-common.h')
-rw-r--r--src/console/dlt-control-common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console/dlt-control-common.h b/src/console/dlt-control-common.h
index a1ba952..41606bb 100644
--- a/src/console/dlt-control-common.h
+++ b/src/console/dlt-control-common.h
@@ -55,7 +55,7 @@
typedef struct
{
void *data; /**< data to be send to DLT Daemon */
- int size; /**< size of that data */
+ uint32_t size; /**< size of that data */
} DltControlMsgBody;
/* As verbosity, ecuid and timeout are needed during the communication,
@@ -68,8 +68,8 @@ void set_verbosity(int);
char *get_ecuid(void);
void set_ecuid(char *);
-long get_timeout(void);
-void set_timeout(long);
+int get_timeout(void);
+void set_timeout(int);
/* Parse dlt.conf file and return the value of requested configuration */
int dlt_parse_config_param(char *config_id, char **config_data);