summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-01-19 12:33:16 -0800
committerRichardHitt <rbh00@netcom.com>2013-01-19 12:33:16 -0800
commit4e0daf047ed14e54ea7eeb2c1547cbe06332fbf4 (patch)
treec224e85b7ebb5a6c9854211dc7f11924a3ca2b0e /src/fe-gtk/fe-gtk.c
parenta46f89998c4faa4b4768e18333ec98c5107ba90b (diff)
Correct almost all compiler warning issues
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-rw-r--r--src/fe-gtk/fe-gtk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 2767fc52..a29a6fda 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -990,9 +990,9 @@ fe_set_inputbox_contents (session *sess, char *text)
 #ifndef WIN32
 
 static gboolean
-try_browser (const char *browser, const char *arg, const char *url)
+try_browser (const char *browser, char *arg, const char *url)
 {
-	const char *argv[4];
+	char *argv[4];
 	char *path;
 
 	path = g_find_program_in_path (browser);
@@ -1000,12 +1000,12 @@ try_browser (const char *browser, const char *arg, const char *url)
 		return 0;
 
 	argv[0] = path;
-	argv[1] = url;
+	argv[1] = (char *)url;
 	argv[2] = NULL;
 	if (arg)
 	{
 		argv[1] = arg;
-		argv[2] = url;
+		argv[2] = (char *)url;
 		argv[3] = NULL;
 	}
 	hexchat_execv (argv);