[geany/geany] 361bf7: Explicitly cast string literals to non-constant pointers
Colomban Wendling
git-noreply at xxxxx
Fri Apr 10 15:07:01 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Thomas Martitz <kugel at rockbox.org>
Date: Tue, 10 Mar 2015 22:10:06 UTC
Commit: 361bf702e0b9ebf8052c39b15cba434ad4d85692
https://github.com/geany/geany/commit/361bf702e0b9ebf8052c39b15cba434ad4d85692
Log Message:
-----------
Explicitly cast string literals to non-constant pointers
Modified Paths:
--------------
src/Makefile.am
Modified: src/Makefile.am
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -184,7 +184,7 @@ signalconn.c: $(glade_file) $(template_file)
$(AM_V_GEN)( \
echo '/* This file is auto-generated, do not edit. */' && \
$(SED) -n '/@callback_map@/q;p' "$(template_file)" && \
- $(SED) -n 's/^.*handler="\([^"]\+\)".*$$/\tg_hash_table_insert(hash, "\1", G_CALLBACK(\1));/p' "$(glade_file)" \
+ $(SED) -n 's/^.*handler="\([^"]\+\)".*$$/\tg_hash_table_insert(hash, (gpointer) "\1", G_CALLBACK(\1));/p' "$(glade_file)" \
| $(SORT) | $(UNIQ) && \
$(SED) -n '/@callback_map@/{:l;n;p;b l}' "$(template_file)" \
) > $@ || { $(RM) $@ && exit 1; }
--------------
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