summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-20 07:56:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:29 -0500
commitefa30b073fb1121f61034d9ad60d0a76f14b3cd9 (patch)
tree4cf86e4a34cf187383454312eb896bbc98f5800f /source4/librpc
parentf9263dd1023499479d64be1eb1b5b04c15ca3ce6 (diff)
downloadsamba-efa30b073fb1121f61034d9ad60d0a76f14b3cd9.tar.gz
samba-efa30b073fb1121f61034d9ad60d0a76f14b3cd9.tar.bz2
samba-efa30b073fb1121f61034d9ad60d0a76f14b3cd9.zip
r10339: fix ndr_push_udlongr
metze (This used to be commit a34d0771ce60d4c590c8bc14449cc23d31a6dd2c)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/ndr/ndr_basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index efff2dbc5f..4d3ac2c774 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -352,8 +352,8 @@ NTSTATUS ndr_push_udlongr(struct ndr_push *ndr, int ndr_flags, uint64_t v)
{
NDR_PUSH_ALIGN(ndr, 4);
NDR_PUSH_NEED_BYTES(ndr, 8);
- NDR_SIVAL(ndr, ndr->offset+4, (v>>32));
- NDR_SIVAL(ndr, ndr->offset, (v & 0xFFFFFFFF));
+ NDR_SIVAL(ndr, ndr->offset, (v>>32));
+ NDR_SIVAL(ndr, ndr->offset+4, (v & 0xFFFFFFFF));
ndr->offset += 8;
return NT_STATUS_OK;
}