From 310c2adf1bc92af3b68da64d57a6752fc1e48310 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 19 Feb 2012 06:36:45 +0000 Subject: * enc/mktable.c (ENC_INFO): constify to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enc/mktable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enc') diff --git a/enc/mktable.c b/enc/mktable.c index 7fc3c6d193..49acf628d0 100644 --- a/enc/mktable.c +++ b/enc/mktable.c @@ -58,7 +58,7 @@ typedef struct { int num; - char* name; + const char* name; } ENC_INFO; static ENC_INFO Info[] = { -- cgit v1.2.1