Changed to uint32_t to match the specification.
authorLassi Marttala <lassi.lm.marttala@partner.bmw.com>
Thu, 26 Jan 2012 12:27:22 +0000 (13:27 +0100)
committerLassi Marttala <lassi.lm.marttala@partner.bmw.com>
Thu, 26 Jan 2012 12:27:22 +0000 (13:27 +0100)
include/dlt/dlt_common.h

index 468b17b..41a9820 100755 (executable)
@@ -336,7 +336,7 @@ typedef char ID4[DLT_ID_SIZE];
 typedef struct
 {
     char pattern[DLT_ID_SIZE];         /**< This pattern should be DLT0x01 */
-    int32_t seconds;                               /**< seconds since 1.1.1970 */
+    uint32_t seconds;                              /**< seconds since 1.1.1970 */
     int32_t microseconds;                      /**< Microseconds */
     char ecu[DLT_ID_SIZE];                     /**< The ECU id is added, if it is not already in the DLT message itself */
 } PACKED DltStorageHeader;