summaryrefslogtreecommitdiff
path: root/src/test_endswap.def
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mingus>2006-05-05 11:34:27 +0000
committerErik de Castro Lopo <erikd@mingus>2006-05-05 11:34:27 +0000
commitedba01c92302976ba50dea749aad5cc9ffc0bc91 (patch)
tree4fc0ab166b7819c3e297517977ed96bbc5eaf978 /src/test_endswap.def
parent29d727dba67f38ab900a513bb0c85532ac5272d4 (diff)
Fix printf formatting for int64_t on 64 bit machines.
Diffstat (limited to 'src/test_endswap.def')
-rw-r--r--src/test_endswap.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test_endswap.def b/src/test_endswap.def
index 68efe6d..5fbc49b 100644
--- a/src/test_endswap.def
+++ b/src/test_endswap.def
@@ -3,19 +3,19 @@ autogen definitions test_endswap.tpl;
int_type = {
name = short ;
value = 0x3210 ;
- format = "0x%04x" ;
+ format = FMT_SHORT ;
} ;
int_type = {
name = int ;
value = 0x76543210 ;
- format = "0x%08x" ;
+ format = FMT_INT ;
} ;
int_type = {
name = int64_t ;
value = "0x0807050540302010LL" ;
- format = "0x%016llx" ;
+ format = FMT_INT64 ;
} ;
/*