diff options
author | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-10-12 12:06:09 +0900 |
---|---|---|
committer | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-10-24 13:39:55 +0900 |
commit | 657dbee1201e2e72952f978aad705f6358838f75 (patch) | |
tree | e8903d941bac6ee1153f8f1dda1cc88349c44b08 /src/system | |
parent | b138ea9b87c25df4b77cf7fa1b0cf3daf711d22b (diff) | |
download | DLT-daemon-657dbee1201e2e72952f978aad705f6358838f75.tar.gz |
dlt-system-filetransfer: Fix compiler warnings
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'src/system')
-rw-r--r-- | src/system/dlt-system-filetransfer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/dlt-system-filetransfer.c b/src/system/dlt-system-filetransfer.c index e2bf245..7bc1671 100644 --- a/src/system/dlt-system-filetransfer.c +++ b/src/system/dlt-system-filetransfer.c @@ -62,6 +62,7 @@ #include <time.h> #include <stdlib.h> #include <string.h> +#include <inttypes.h> #include "dlt-system.h" #include "dlt.h" @@ -129,7 +130,7 @@ char *unique_name(char *src) char *ret = malloc(len); MALLOC_ASSERT(ret); - snprintf(ret, len, "%010lu%s", l,basename_f); + snprintf(ret, len, "%010" PRIu32 "%s", l,basename_f); return ret; } |