src/protocols/oscar/auth.c

changeset 11767
a4901984578d
parent 11448
9de52c9dbce7
child 12308
9e69276151ee
--- a/src/protocols/oscar/auth.c	Sun Oct 23 21:57:49 2005 +0000
+++ b/src/protocols/oscar/auth.c	Sun Oct 23 22:14:53 2005 +0000
@@ -154,7 +154,7 @@
 	fu8_t *password_encoded;
 
 	passwdlen = strlen(password);
-	if (!(password_encoded = (char *)malloc(passwdlen+1)))
+	if (!(password_encoded = (fu8_t *)malloc(passwdlen+1)))
 		return -ENOMEM;
 	if (passwdlen > MAXICQPASSLEN)
 		passwdlen = MAXICQPASSLEN;

mercurial