summaryrefslogtreecommitdiff
path: root/source4/libcli/util
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/libcli/util
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/libcli/util')
-rw-r--r--source4/libcli/util/dom_sid.c2
-rw-r--r--source4/libcli/util/smbdes.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/util/dom_sid.c b/source4/libcli/util/dom_sid.c
index 88ece25a8e..cdf89ccf96 100644
--- a/source4/libcli/util/dom_sid.c
+++ b/source4/libcli/util/dom_sid.c
@@ -28,7 +28,7 @@
struct dom_sid *dom_sid_parse_talloc(TALLOC_CTX *mem_ctx, const char *sidstr)
{
struct dom_sid *ret;
- unsigned int rev, ia, num_sub_auths, i;
+ uint_t rev, ia, num_sub_auths, i;
char *p;
if (strncasecmp(sidstr, "S-", 2)) {
diff --git a/source4/libcli/util/smbdes.c b/source4/libcli/util/smbdes.c
index b0efdec157..b2e46e759d 100644
--- a/source4/libcli/util/smbdes.c
+++ b/source4/libcli/util/smbdes.c
@@ -412,7 +412,7 @@ void SamOEMhash(uint8_t *data, const uint8_t keystr[16], int len)
/* Decode a sam password hash into a password. The password hash is the
same method used to store passwords in the NT registry. The DES key
used is based on the RID of the user. */
-void sam_pwd_hash(unsigned int rid, const uchar *in, uchar *out, int forw)
+void sam_pwd_hash(uint_t rid, const uchar *in, uchar *out, int forw)
{
uchar s[14];