summaryrefslogtreecommitdiff
path: root/regerror.c
diff options
context:
space:
mode:
authorkosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-05 13:54:40 (GMT)
committerkosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-05 13:54:40 (GMT)
commitd92db05a27d7c97386dfa8bc77fb865aba9df751 (patch)
tree9c59ec892f0d242ad5dddeb62186229934c7836a /regerror.c
parent7e10b0c4de56dd727ca6adb3264b0867b275437d (diff)
merge Oniguruma 4.2.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regerror.c')
-rw-r--r--regerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regerror.c b/regerror.c
index 811ca2b..ad73b76 100644
--- a/regerror.c
+++ b/regerror.c
@@ -276,7 +276,7 @@ onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist)
UChar bs[6];
va_list args;
- va_init_list(args, (const char* )fmt);
+ va_init_list(args, fmt);
n = vsnprintf((char* )buf, bufsize, (const char* )fmt, args);
va_end(args);