diff libpurple/cipher.c @ 22011:76e0463db3aa

Squash some compiler warnings, some from my -Wstrict-prototypes fixing.
author Richard Laager <rlaager@wiktel.com>
date Sat, 05 Jan 2008 18:01:12 +0000
parents f786e478e08b
children 951bb9ca9d01
line wrap: on
line diff
--- a/libpurple/cipher.c	Sat Jan 05 17:14:32 2008 +0000
+++ b/libpurple/cipher.c	Sat Jan 05 18:01:12 2008 +0000
@@ -775,7 +775,7 @@
 static void
 hmac_set_key(PurpleCipherContext *context, const guchar * key)
 {
-	hmac_set_key_with_len(context, key, strlen(key));
+	hmac_set_key_with_len(context, key, strlen((char *)key));
 }
 
 static size_t