Permalink
Browse files

* 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
  • Loading branch information...
1 parent f0e9fa3 commit 310c2adf1bc92af3b68da64d57a6752fc1e48310 @nobu nobu committed Feb 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 enc/mktable.c
View
@@ -58,7 +58,7 @@
typedef struct {
int num;
- char* name;
+ const char* name;
} ENC_INFO;
static ENC_INFO Info[] = {

0 comments on commit 310c2ad

Please sign in to comment.