NuttX: fixes for printing size_t and int64_t

Added definition of PRId64 for C99 compatibility.
Used %zd for portable wat to print size_t.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-07-01 07:51:24 -07:00
parent 1e46f44123
commit 63f7995b41
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -115,6 +115,9 @@ typedef param_t px4_param_t;
#ifndef PRIu64
#define PRIu64 "llu"
#endif
#ifndef PRId64
#define PRId64 "lld"
#endif
/*
* POSIX Specific defines