]> granicus.if.org Git - php/commitdiff
Fixed compilation warning
authorDmitry Stogov <dmitry@zend.com>
Thu, 26 Nov 2015 08:27:24 +0000 (11:27 +0300)
committerDmitry Stogov <dmitry@zend.com>
Thu, 26 Nov 2015 08:27:24 +0000 (11:27 +0300)
ext/opcache/Optimizer/zend_dump.c

index b5780e73b2c0d6e3749a157c2e668a98afddee73..a83e3563b805f9f91d76d413c9f0a927103a49ed 100644 (file)
@@ -100,7 +100,7 @@ static void zend_dump_op(const zend_op_array *op_array, const zend_basic_block *
                        if (b) {
                                fprintf(stderr, " BB%d", b->successors[n++]);
                        } else {
-                               fprintf(stderr, " L" ZEND_LONG_FMT, ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value));
+                               fprintf(stderr, " L%u", (uint32_t)ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value));
                        }
                }
        }