summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Vacek <stefan.vacek@intel.com>2015-05-13 15:16:46 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-07-21 12:42:17 +0200
commitc745709ff10493281e5f020b2d76379e440ab9bd (patch)
tree69e65a8a41b0033fb2fed7d0f72b5f65b0ef2e4f /include
parentaccae3432f19176a51281dddf981c24919fc180d (diff)
downloadDLT-daemon-c745709ff10493281e5f020b2d76379e440ab9bd.tar.gz
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 <stefan.vacek@intel.com>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/dlt/dlt_common.h6
1 files changed, 3 insertions, 3 deletions
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 */