[geany/geany] 591853: Explicit a valid cast

Colomban Wendling git-noreply at xxxxx
Sun Nov 3 21:31:00 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 03 Nov 2013 21:31:00 UTC
Commit:      5918532ab23fdd310266792b999e3133de996747
             https://github.com/geany/geany/commit/5918532ab23fdd310266792b999e3133de996747

Log Message:
-----------
Explicit a valid cast


Modified Paths:
--------------
    src/main.c

Modified: src/main.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -539,7 +539,7 @@ static void parse_command_line_options(gint *argc, gchar ***argv)
 			continue;
 
 		cl_options.goto_line = atoi((*argv)[i] + 1);
-		(*argv)[i] = "--dummy";
+		(*argv)[i] = (gchar *) "--dummy";
 	}
 
 	context = g_option_context_new(_("[FILES...]"));



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list