From fa2e9ec311b99dee2fbff5ee5fa2c743298dacad Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 Jun 2004 08:12:45 +0000 Subject: r960: convert 'unsigned int' to uint_t in the most places metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0) --- source4/libcli/util/dom_sid.c | 2 +- source4/libcli/util/smbdes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/libcli/util') 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]; -- cgit