From 8e2a1cba362cf4a464b6233f23f485f7b91696c3 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 17 Nov 2010 06:21:11 +0000 Subject: * regint.h (OnigOpInfoType): constify name. * regcomp.c (op2name): constify return value. * regcomp.c (onig_print_compiled_byte_code): use PRIuPTR and uintptr_t to clean warnings. * regcomp.c (print_indent_tree): use PRIxPTR and intptr_t. * regexec.c (match_at): use PRIdPTR and intptr_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regint.h') diff --git a/regint.h b/regint.h index ca9f2b12c8..ed8de1d017 100644 --- a/regint.h +++ b/regint.h @@ -786,7 +786,7 @@ typedef struct { typedef struct { short int opcode; - char* name; + const char* name; short int arg_type; } OnigOpInfoType; -- cgit v1.2.1