aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rc4.c')
-rw-r--r--lib/rc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rc4.c b/lib/rc4.c
index 86b74ef5..5e334507 100644
--- a/lib/rc4.c
+++ b/lib/rc4.c
@@ -164,7 +164,7 @@ int rc4_decode( unsigned char *crypt, int crypt_len, unsigned char **clear, char
if( clear_len < 0 )
{
- *clear = g_strdup( "" );
+ *clear = (unsigned char*) g_strdup( "" );
return 0;
}