summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-11-20 14:04:22 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-11-20 14:04:22 +0000
commitf46c40814880c71fd883cf2eabf29259a3236f08 (patch)
treea03d924e44ce4f05ec4c2d59f31a1d5889ea7e85 /mg.c
parentde734bd5c0f518849c823cf9035c5583d1cd8d67 (diff)
downloadperl-f46c40814880c71fd883cf2eabf29259a3236f08.tar.gz
Fix precedence problem
p4raw-id: //depot/perl@29325
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mg.c b/mg.c
index 67f1453840..e4d73932a9 100644
--- a/mg.c
+++ b/mg.c
@@ -504,9 +504,9 @@ Perl_magic_regdata_cnt(pTHX_ SV *sv, MAGIC *mg)
I32 paren = rx->lastparen;
/* return the last filled */
- while ( paren >= 0 &&
- rx->startp[paren] == -1 || rx->endp[paren] == -1)
- paren--;
+ while ( paren >= 0
+ && (rx->startp[paren] == -1 || rx->endp[paren] == -1) )
+ paren--;
return (U32)paren;
}
}