summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_authcookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_authcookie.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_authcookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_authcookie.c b/Utilities/cmxmlrpc/xmlrpc_authcookie.c
index 83541b9..1da929f 100644
--- a/Utilities/cmxmlrpc/xmlrpc_authcookie.c
+++ b/Utilities/cmxmlrpc/xmlrpc_authcookie.c
@@ -51,7 +51,7 @@ void xmlrpc_authcookie_set ( xmlrpc_env *env,
sprintf(unencoded, "%s:%s", username, password);
/* Create encoded string. */
- token = xmlrpc_base64_encode_without_newlines(env, unencoded,
+ token = xmlrpc_base64_encode_without_newlines(env, (unsigned char*)unencoded,
strlen(unencoded));
XMLRPC_FAIL_IF_FAULT(env);