]> granicus.if.org Git - php/commitdiff
fix format
authorAnatol Belski <ab@php.net>
Thu, 28 Aug 2014 13:41:03 +0000 (15:41 +0200)
committerAnatol Belski <ab@php.net>
Thu, 28 Aug 2014 15:03:40 +0000 (17:03 +0200)
Zend/zend_exceptions.c

index 50089bf1df0c5b00f61516bb41c60aa4b625ac07..c5193ce7b60d95c27422e7881f01e87255b0e73e 100644 (file)
@@ -547,7 +547,7 @@ static void _build_trace_string(zval *frame, zend_ulong index, zend_string **str
                                line = 0;
                        }
                        s_tmp = emalloc(Z_STRLEN_P(file) + MAX_LENGTH_OF_LONG + 4 + 1);
-                       len = sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_P(file), line);
+                       len = sprintf(s_tmp, "%s(" ZEND_LONG_FMT "): ", Z_STRVAL_P(file), line);
                        TRACE_APPEND_STRL(s_tmp, len);
                        efree(s_tmp);
                }