summaryrefslogtreecommitdiffstats
path: root/source4/auth/credentials/credentials_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/credentials/credentials_wrap.c')
-rw-r--r--source4/auth/credentials/credentials_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials_wrap.c b/source4/auth/credentials/credentials_wrap.c
index 0beaf85f42..ebf7162c5b 100644
--- a/source4/auth/credentials/credentials_wrap.c
+++ b/source4/auth/credentials/credentials_wrap.c
@@ -3407,7 +3407,7 @@ SWIGINTERN PyObject *_wrap_Credentials_get_nt_hash(PyObject *SWIGUNUSEDPARM(self
arg1 = (cli_credentials *)(argp1);
}
result = (struct samr_Password *)cli_credentials_get_nt_hash(arg1,arg2);
- resultobj = PyString_FromStringAndSize(result->hash, 16);
+ resultobj = PyString_FromStringAndSize((char *)result->hash, 16);
return resultobj;
fail:
return NULL;