Fix a pointer signednes warning calling base64_decode().

This commit is contained in:
Todd C. Miller
2014-07-13 14:27:20 -06:00
parent 9f3caa5a62
commit b5a6037a6c

View File

@@ -1387,7 +1387,7 @@ sudo_ldap_build_pass2(void)
static char * static char *
sudo_ldap_decode_secret(const char *secret) sudo_ldap_decode_secret(const char *secret)
{ {
char *result = NULL; unsigned char *result = NULL;
size_t len, reslen; size_t len, reslen;
debug_decl(sudo_ldap_decode_secret, SUDO_DEBUG_LDAP) debug_decl(sudo_ldap_decode_secret, SUDO_DEBUG_LDAP)
@@ -1405,7 +1405,7 @@ sudo_ldap_decode_secret(const char *secret)
result = NULL; result = NULL;
} }
} }
debug_return_str(result); debug_return_str((char *)result);
} }
static void static void