aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/template.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c420184f..dd37b534 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-07
+
+ * src/template.c: template_compare_id(): fixed constness.
+
2013-06-03
* src/prefs_template.c
diff --git a/src/template.c b/src/template.c
index 15b30efa..e121bd3b 100644
--- a/src/template.c
+++ b/src/template.c
@@ -111,7 +111,7 @@ void template_clear_config(GSList *tmpl_list)
static gint template_compare_id(gconstpointer a, gconstpointer b)
{
- Template *ta, *tb;
+ const Template *ta, *tb;
ta = a;
tb = b;