]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Add some parenthesis to appease the compiler
authorVincent Pit <vince@profvince.com>
Sun, 21 Sep 2008 22:37:38 +0000 (00:37 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 21 Sep 2008 22:37:38 +0000 (00:37 +0200)
Magic.xs

index e25d8d1566ed92cd1aa79a2a212206d5fbeb9445..d9bc4b4d9c46cc354ace577714baa7a762b5d468 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -882,7 +882,7 @@ CODE:
   hv = newHV();
   hv_iterinit(hv); /* Allocate iterator */
   hv_iterinit(MY_CXT);
-  while (key = hv_iternext(MY_CXT)) {
+  while ((key = hv_iternext(MY_CXT))) {
    STRLEN len;
    char *sig = HePV(key, len);
    SV *sv;