summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-04-28 22:17:48 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-04-28 22:17:48 +0200
commit5c739b148e019d44b60be061585bf177397ceb41 (patch)
treef237fa9d720b4fae2da2fe219f2632df7403fbb5 /src/helper
parentd2911627d236ecf3d4ee537fb4e3f17de77a60bb (diff)
downloadopenocd+libswd-5c739b148e019d44b60be061585bf177397ceb41.tar.gz
openocd+libswd-5c739b148e019d44b60be061585bf177397ceb41.tar.bz2
openocd+libswd-5c739b148e019d44b60be061585bf177397ceb41.tar.xz
openocd+libswd-5c739b148e019d44b60be061585bf177397ceb41.zip
ecos: add 64 bit types for sprintf/sscanf
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/types.h2
1 files changed, 2 insertions, 0 deletions
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;