From: Øyvind Harboe Date: Thu, 28 Apr 2011 20:17:48 +0000 (+0200) Subject: ecos: add 64 bit types for sprintf/sscanf X-Git-Tag: v0.5.0-rc1~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c739b148e019d44b60be061585bf177397ceb41;p=openocd ecos: add 64 bit types for sprintf/sscanf --- 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;