From b6ed54477c00e2b4572e898fe0a47aa64a028c26 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 2 Aug 2008 12:53:32 +0200 Subject: fixes some warnings Signed-off-by: Matt Colyer --- src/userpref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userpref.c') diff --git a/src/userpref.c b/src/userpref.c index 27aded5..bc92f96 100644 --- a/src/userpref.c +++ b/src/userpref.c @@ -44,7 +44,7 @@ char* get_host_id() gchar* loc_host_id = g_key_file_get_value(key_file, "Global", "HostID", NULL); if (loc_host_id) - host_id = strdup(loc_host_id); + host_id = strdup((char*)loc_host_id); g_free(loc_host_id); } g_key_file_free(key_file); -- cgit v1.1-32-gdbae