summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_sec.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-01 08:12:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:23 -0500
commitfa2e9ec311b99dee2fbff5ee5fa2c743298dacad (patch)
tree35dc6a43cb10399e427b2fcd76d24cc23c77151d /source4/librpc/ndr/ndr_sec.c
parentb88fc7a3911e0ff8b6d7d324028e351281e94c46 (diff)
downloadsamba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.gz
samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.bz2
samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.zip
r960: convert 'unsigned int' to uint_t in the most places
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
Diffstat (limited to 'source4/librpc/ndr/ndr_sec.c')
-rw-r--r--source4/librpc/ndr/ndr_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_sec.c b/source4/librpc/ndr/ndr_sec.c
index 0c3982f390..1fe8adbf4a 100644
--- a/source4/librpc/ndr/ndr_sec.c
+++ b/source4/librpc/ndr/ndr_sec.c
@@ -73,7 +73,7 @@ char *dom_sid_string(TALLOC_CTX *mem_ctx, const struct dom_sid *sid)
(sid->id_auth[2] << 24);
ofs = snprintf(ret, maxlen, "S-%u-%lu",
- (unsigned int)sid->sid_rev_num, (unsigned long)ia);
+ (uint_t)sid->sid_rev_num, (unsigned long)ia);
for (i = 0; i < sid->num_auths; i++) {
ofs += snprintf(ret + ofs, maxlen - ofs, "-%lu", (unsigned long)sid->sub_auths[i]);