From 5c739b148e019d44b60be061585bf177397ceb41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Thu, 28 Apr 2011 22:17:48 +0200 Subject: [PATCH] ecos: add 64 bit types for sprintf/sscanf --- src/helper/types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helper/types.h b/src/helper/types.h index 12b95150..d47fb44a 100644 --- a/src/helper/types.h +++ b/src/helper/types.h @@ -197,6 +197,8 @@ static inline void h_u16_to_be(uint8_t* buf, int val) #define PRIi32 "i" #define PRIu32 "u" #define PRId8 PRId32 +#define SCNx64 "llx" +#define PRIx64 "llx" typedef CYG_ADDRWORD intptr_t; typedef int64_t intmax_t; -- 2.39.5