From 17b5630bf7a04ffb90e422add5fa19dc16fca9d2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 May 2004 01:14:56 +0000 Subject: r895: use _t in base ndr fns (This used to be commit b3c00acdf0e85563b5d5ce1f9bc86cc2e781d53e) --- source4/librpc/ndr/ndr_basic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index 687e457129..1766d47e14 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -234,7 +234,7 @@ NTSTATUS ndr_push_uint32(struct ndr_push *ndr, uint32_t v) /* push a uint64 */ -NTSTATUS ndr_push_uint64(struct ndr_push *ndr, uint64 v) +NTSTATUS ndr_push_uint64(struct ndr_push *ndr, uint64_t v) { NDR_PUSH_ALIGN(ndr, 4); NDR_PUSH_NEED_BYTES(ndr, 8); @@ -247,7 +247,7 @@ NTSTATUS ndr_push_uint64(struct ndr_push *ndr, uint64 v) /* push a int64 */ -NTSTATUS ndr_push_int64(struct ndr_push *ndr, int64 v) +NTSTATUS ndr_push_int64(struct ndr_push *ndr, int64_t v) { return ndr_push_uint64(ndr, (uint64_t)v); } @@ -693,12 +693,12 @@ void ndr_print_uint32(struct ndr_print *ndr, const char *name, uint32_t v) ndr->print(ndr, "%-25s: 0x%08x (%u)", name, v, v); } -void ndr_print_uint64(struct ndr_print *ndr, const char *name, uint64 v) +void ndr_print_uint64(struct ndr_print *ndr, const char *name, uint64_t v) { ndr->print(ndr, "%-25s: 0x%08x%08x", name, (uint32_t)(v >> 32), (uint32_t)(v & 0xFFFFFFFF)); } -void ndr_print_int64(struct ndr_print *ndr, const char *name, int64 v) +void ndr_print_int64(struct ndr_print *ndr, const char *name, int64_t v) { ndr->print(ndr, "%-25s: 0x%08x%08x (%lld)", name, (uint32_t)(v >> 32), -- cgit