summaryrefslogtreecommitdiffhomepage
path: root/src/regexec.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-23 03:31:55 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-23 03:31:55 +0900
commit4523bee95357bed945a58462544441371160056f (patch)
treefc7fecb95769eee94f1596b13eb58472281ec656 /src/regexec.c
parent714b358bb22c99bf653e21f4f9f6e22e24134b28 (diff)
downloadmruby-4523bee95357bed945a58462544441371160056f.tar.gz
mruby-4523bee95357bed945a58462544441371160056f.zip
cast style consistency
Diffstat (limited to 'src/regexec.c')
-rw-r--r--src/regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regexec.c b/src/regexec.c
index 9b3929bb0..4d8950b73 100644
--- a/src/regexec.c
+++ b/src/regexec.c
@@ -1298,9 +1298,9 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
(int )(end - str), (int )(sstart - str));
#endif
- STACK_PUSH_ENSURED(STK_ALT, (UChar *)FinishCode); /* bottom stack */
+ STACK_PUSH_ENSURED(STK_ALT, (UChar*)FinishCode); /* bottom stack */
best_len = ONIG_MISMATCH;
- s = (UChar* )sstart;
+ s = (UChar*)sstart;
while (1) {
#ifdef ONIG_DEBUG_MATCH
if (s) {