summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_basic.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-26 01:14:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:18 -0500
commit17b5630bf7a04ffb90e422add5fa19dc16fca9d2 (patch)
treedd70890c60431ca48514457ca669bc1fa2bd6653 /source4/librpc/ndr/ndr_basic.c
parent5765abf1b80a535c33ad7da2cc6a65271c5c4d47 (diff)
downloadsamba-17b5630bf7a04ffb90e422add5fa19dc16fca9d2.tar.gz
samba-17b5630bf7a04ffb90e422add5fa19dc16fca9d2.tar.bz2
samba-17b5630bf7a04ffb90e422add5fa19dc16fca9d2.zip
r895: use _t in base ndr fns
(This used to be commit b3c00acdf0e85563b5d5ce1f9bc86cc2e781d53e)
Diffstat (limited to 'source4/librpc/ndr/ndr_basic.c')
-rw-r--r--source4/librpc/ndr/ndr_basic.c8
1 files changed, 4 insertions, 4 deletions
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),