From 2a003301dea77033af23cb6fcbc94d95fdb93452 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 22 Feb 2009 00:05:48 +0100 Subject: [PATCH] Avoid unnecessary const violation. --- src/supported.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supported.c b/src/supported.c index b8cb37a..f34562e 100644 --- a/src/supported.c +++ b/src/supported.c @@ -116,7 +116,7 @@ change_isupport(const char *name, const char *(*func)(const void *), const void { rb_dlink_node *ptr; struct isupportitem *item; - void *oldvalue; + const void *oldvalue; RB_DLINK_FOREACH(ptr, isupportlist.head) {