projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d291162
)
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
patch
|
blob
|
history
diff --git
a/src/helper/types.h
b/src/helper/types.h
index 12b95150b4999fbe115c2950cd86ac0edcc73c23..d47fb44ad2d676c5d562efa908378d45621654b3 100644
(file)
--- 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;