summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-21 16:28:44 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-21 16:28:44 +0000
commit477350638399b8ff264100c7832c14df719055f3 (patch)
tree783ae3d3f7045b98592daae7cbb7c1c3240632fd /source3/smbd
parent9307940876a6c226969e9169d55c0408cd7ab032 (diff)
downloadsamba-477350638399b8ff264100c7832c14df719055f3.tar.gz
samba-477350638399b8ff264100c7832c14df719055f3.tar.bz2
samba-477350638399b8ff264100c7832c14df719055f3.zip
signed / unsigned issues
(This used to be commit bd2fc6bb85739cb8e7ed2254e2a553486daed054)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c2
-rw-r--r--source3/smbd/ipc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 45497e4cf8..91062268f9 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -613,7 +613,7 @@ BOOL check_oem_password(char *user,
uchar unenc_old_pw[16];
uchar null_pw[16];
uchar null_ntpw[16];
- uchar no_pw[2];
+ char no_pw[2];
BOOL nt_pass_set = (ntdata != NULL && nthash != NULL);
become_root(False);
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 249c286ec7..4e4eeb40ca 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -1732,7 +1732,7 @@ static BOOL api_SamOEMChangePassword(connection_struct *conn,uint16 vuid, char *
*/
(void)Get_Pwnam( user, True);
- if (pass_oem_change(user, (uchar*) data, &data[516], NULL, NULL))
+ if (pass_oem_change(user, (uchar*) data, (uchar*)(&data[516]), NULL, NULL))
{
SSVAL(*rparam,0,NERR_Success);
}