From: Øyvind Harboe Date: Thu, 28 Apr 2011 20:17:48 +0000 (+0200) Subject: ecos: add 64 bit types for sprintf/sscanf X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=5c739b148e019d44b60be061585bf177397ceb41;p=fw%2Fopenocd ecos: add 64 bit types for sprintf/sscanf --- diff --git a/src/helper/types.h b/src/helper/types.h index 12b95150b..d47fb44ad 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;