changeset 21442:c54720e10706

kill another compile warning
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 12 Nov 2007 03:09:54 +0000
parents af861f7aa8c5
children 420872ab87c0
files libpurple/protocols/silc/silc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc/silc.c	Mon Nov 12 02:29:15 2007 +0000
+++ b/libpurple/protocols/silc/silc.c	Mon Nov 12 03:09:54 2007 +0000
@@ -425,7 +425,7 @@
 		return;
 	}
 
-	silc_hash_alloc("sha1", &sg->sha1hash);
+	silc_hash_alloc((unsigned char *)"sha1", &sg->sha1hash);
 
 	/* Wrap socket to TCP stream */
 	silc_socket_tcp_stream_create(source, TRUE, FALSE,