From c745709ff10493281e5f020b2d76379e440ab9bd Mon Sep 17 00:00:00 2001 From: Stefan Vacek Date: Wed, 13 May 2015 15:16:46 +0200 Subject: Fix compilation warnings and possible misuse of snprint - sprintf was used were snprint was intended - make proper usage of 64bit values in printf-formatting - remove some not used variables - make some casts to make printf happy Signed-off-by: Stefan Vacek --- include/dlt/dlt_common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 73798b7..2288f69 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -602,9 +602,9 @@ typedef struct typedef struct { - unsigned char* shm; /* pointer to beginning of shared memory */ - int size; /* size of data area in shared memory */ - unsigned char* mem; /* pointer to data area in shared memory */ + unsigned char* shm; /* pointer to beginning of shared memory */ + int size; /* size of data area in shared memory */ + unsigned char* mem; /* pointer to data area in shared memory */ uint32_t min_size; /**< Minimum size of buffer */ uint32_t max_size; /**< Maximum size of buffer */ -- cgit v1.2.1