summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samsync.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-11 10:49:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:12 -0500
commit1598aaca9579f4e2ca9d1fd539693969a2319a4b (patch)
treebb04fd1e4ee49981f6e0a529cf227d0682bf56fc /source4/torture/rpc/samsync.c
parent7935df168f4e98e5d3da352ea555883b0be8bbd3 (diff)
downloadsamba-1598aaca9579f4e2ca9d1fd539693969a2319a4b.tar.gz
samba-1598aaca9579f4e2ca9d1fd539693969a2319a4b.tar.bz2
samba-1598aaca9579f4e2ca9d1fd539693969a2319a4b.zip
r11676: as tridge uses 0x%llx in his latest commits...
try to use it every where and see how portable it is metze (This used to be commit 66a94de5ddd09df858a515555c01aa3d4f7d3e96)
Diffstat (limited to 'source4/torture/rpc/samsync.c')
-rw-r--r--source4/torture/rpc/samsync.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index 93bfb71325..79dd8c9833 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -210,10 +210,8 @@ static struct sec_desc_buf *samsync_query_lsa_sec_desc(TALLOC_CTX *mem_ctx,
#define TEST_UINT64_EQUAL(i1, i2) do {\
if (i1 != i2) {\
- printf("%s: uint64 mismatch: " #i1 ": 0x%08x%08x (%lld) != " #i2 ": 0x%08x%08x (%lld)\n", \
- __location__, \
- (uint32_t)(i1 >> 32), (uint32_t)(i1 & 0xFFFFFFFF), i1, \
- (uint32_t)(i2 >> 32), (uint32_t)(i2 & 0xFFFFFFFF), i2);\
+ printf("%s: uint64 mismatch: " #i1 ": 0x%016llx (%lld) != " #i2 ": 0x%016llx (%lld)\n", \
+ __location__, i1, i1, i2, i2);\
ret = False;\
} \
} while (0)