summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-19 06:36:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-19 06:36:45 +0000
commit310c2adf1bc92af3b68da64d57a6752fc1e48310 (patch)
treed11df8136257c533b9a6345ab271b9c5d7c1322c
parentf0e9fa3cb12a9f9a14b5b77d872bce8cc027b829 (diff)
downloadruby-310c2adf1bc92af3b68da64d57a6752fc1e48310.tar.gz
* 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
-rw-r--r--enc/mktable.c2
1 files changed, 1 insertions, 1 deletions
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[] = {