[geany/geany] cf3139: Use the same pointer type for all pointers in tm_tags_merge()
Colomban Wendling
git-noreply at xxxxx
Fri May 25 17:47:10 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Fri, 25 May 2012 17:47:10
Commit: cf3139de03d7c3b8916b3e22528766c8abd0f6e7
https://github.com/geany/geany/commit/cf3139de03d7c3b8916b3e22528766c8abd0f6e7
Log Message:
-----------
Use the same pointer type for all pointers in tm_tags_merge()
This prevents GCC from complaining about implicit casts and comparisons
between different pointer types. It also makes the code a little less
bound at dealing with TMTags.
Modified Paths:
--------------
tagmanager/tm_tag.c
Modified: tagmanager/tm_tag.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -578,7 +578,7 @@ gboolean tm_tags_custom_dedup(GPtrArray *tags_array, TMTagCompareFunc compare_fu
gboolean tm_tags_merge(GPtrArray *tags_array, gsize orig_len,
TMTagAttrType *sort_attributes, gboolean dedup)
{
- TMTag **copy, **a, **b;
+ gpointer *copy, *a, *b;
gsize copy_len, i;
if ((!tags_array) || (!tags_array->len) || orig_len >= tags_array->len)
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list