mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
lib:krb5_wrap: Remove unnecessary cast
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
578c1d39f5
commit
5b3a8aa544
@ -323,7 +323,7 @@ int smb_krb5_create_key_from_string(krb5_context context,
|
||||
|
||||
ok = convert_string_talloc(frame, CH_UNIX, CH_UTF16LE,
|
||||
password->data, password->length,
|
||||
(void **)&utf16, &utf16_size);
|
||||
&utf16, &utf16_size);
|
||||
if (!ok) {
|
||||
if (errno == 0) {
|
||||
errno = EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user