summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/arcfour
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-05-10 04:24:38 +0000
committerKen Raeburn <raeburn@mit.edu>2007-05-10 04:24:38 +0000
commitc3da88c50011473240e206b40c38bd90e42c7f73 (patch)
tree44e3f398fa99e95c0b01635fa59868ed8d8a4cd7 /src/lib/crypto/arcfour
parent307b319c410581ad98a1d3d0034338240256fefa (diff)
downloadkrb5-c3da88c50011473240e206b40c38bd90e42c7f73.tar.gz
krb5-c3da88c50011473240e206b40c38bd90e42c7f73.tar.xz
krb5-c3da88c50011473240e206b40c38bd90e42c7f73.zip
Fix various gcc warnings about pointer target signedness and qualifiers
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19548 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/arcfour')
-rw-r--r--src/lib/crypto/arcfour/arcfour_s2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/arcfour/arcfour_s2k.c b/src/lib/crypto/arcfour/arcfour_s2k.c
index efa92bfb1..6ccfdb783 100644
--- a/src/lib/crypto/arcfour/arcfour_s2k.c
+++ b/src/lib/crypto/arcfour/arcfour_s2k.c
@@ -43,7 +43,7 @@ krb5int_arcfour_string_to_key(const struct krb5_enc_provider *enc,
return ENOMEM;
/* make the string. start by creating the unicode version of the password*/
- asctouni(copystr, string->data, slen );
+ asctouni(copystr, (unsigned char *) string->data, slen);
/* the actual MD4 hash of the data */
krb5_MD4Init(&md4_context);