summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-31 16:10:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:26 -0500
commit4c6bcb0c05075b8fc606e72123b26288ea80d3bb (patch)
tree42f11e8a84112bb6ea39ae8517137d6100928171 /source4/librpc/ndr
parentad234a53f673f464fc77f611c02e2b51ff41c06a (diff)
downloadsamba-4c6bcb0c05075b8fc606e72123b26288ea80d3bb.tar.gz
samba-4c6bcb0c05075b8fc606e72123b26288ea80d3bb.tar.bz2
samba-4c6bcb0c05075b8fc606e72123b26288ea80d3bb.zip
r5139: fix types
metze (This used to be commit 8507a57b88c6acce84d9ccc580e17c7f96c6d7af)
Diffstat (limited to 'source4/librpc/ndr')
-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 61b3c9ec4d..9601421044 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -1304,12 +1304,12 @@ NTSTATUS ndr_pull_DATA_BLOB(struct ndr_pull *ndr, DATA_BLOB *blob)
return NT_STATUS_OK;
}
-uint32 ndr_size_DATA_BLOB(int ret, const DATA_BLOB *data, int flags)
+uint32_t ndr_size_DATA_BLOB(int ret, const DATA_BLOB *data, int flags)
{
return ret + data->length;
}
-uint32 ndr_size_string(int ret, const char * const* string, int flags)
+uint32_t ndr_size_string(int ret, const char * const* string, int flags)
{
/* FIXME: Is this correct for all strings ? */
if(!(*string)) return ret;