summaryrefslogtreecommitdiff
path: root/source4/lib/smbpasswd.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 17:24:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:16 -0500
commitf88bf54c7f6d1c2ef833047eb8327953c304b5ff (patch)
tree07da4ab8641b2200eaca5b5ea9adba26b0712277 /source4/lib/smbpasswd.c
parentf2ad98a165cdec6d344a96aeb21a38518a10720a (diff)
downloadsamba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.gz
samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.bz2
samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.zip
r889: convert samba4 to use [u]int16_t instead of [u]int16
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
Diffstat (limited to 'source4/lib/smbpasswd.c')
-rw-r--r--source4/lib/smbpasswd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/smbpasswd.c b/source4/lib/smbpasswd.c
index 92ae1ffea2..5cb8439878 100644
--- a/source4/lib/smbpasswd.c
+++ b/source4/lib/smbpasswd.c
@@ -88,7 +88,7 @@ BOOL smbpasswd_gethexpwd(char *p, unsigned char *pwd)
/*! Convert a 16-byte array into 32 hex characters. */
-void smbpasswd_sethexpwd(fstring p, unsigned char *pwd, uint16 acb_info)
+void smbpasswd_sethexpwd(fstring p, unsigned char *pwd, uint16_t acb_info)
{
if (pwd != NULL) {
int i;
@@ -104,9 +104,9 @@ void smbpasswd_sethexpwd(fstring p, unsigned char *pwd, uint16 acb_info)
/*! Decode the account control bits (ACB) info from a string. */
-uint16 smbpasswd_decode_acb_info(const char *p)
+uint16_t smbpasswd_decode_acb_info(const char *p)
{
- uint16 acb_info = 0;
+ uint16_t acb_info = 0;
BOOL finished = False;
/*
@@ -170,7 +170,7 @@ uint16 smbpasswd_decode_acb_info(const char *p)
/*! Encode account control bits (ACBs) into a string. */
-char *smbpasswd_encode_acb_info(uint16 acb_info)
+char *smbpasswd_encode_acb_info(uint16_t acb_info)
{
static fstring acct_str;
size_t i = 0;