]> git.sur5r.net Git - openocd/commitdiff
ecos: add 64 bit types for sprintf/sscanf
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 28 Apr 2011 20:17:48 +0000 (22:17 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 28 Apr 2011 20:17:48 +0000 (22:17 +0200)
src/helper/types.h

index 12b95150b4999fbe115c2950cd86ac0edcc73c23..d47fb44ad2d676c5d562efa908378d45621654b3 100644 (file)
@@ -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;