summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.c
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
commitbd2fc6bb85739cb8e7ed2254e2a553486daed054 (patch)
tree550263bca88bc7598c49663624bf3b524c1f164d /source/smbd/ipc.c
parentc101113ec20ed0ba633e78e4ee45596cdccaf1b5 (diff)
downloadsamba-bd2fc6bb85739cb8e7ed2254e2a553486daed054.tar.gz
samba-bd2fc6bb85739cb8e7ed2254e2a553486daed054.tar.xz
samba-bd2fc6bb85739cb8e7ed2254e2a553486daed054.zip
signed / unsigned issues
Diffstat (limited to 'source/smbd/ipc.c')
-rw-r--r--source/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index 249c286ec7b..4e4eeb40ca0 100644
--- a/source/smbd/ipc.c
+++ b/source/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);
}