summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pdf/pdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c
index c8bc728301..7519bc43b0 100644
--- a/ext/pdf/pdf.c
+++ b/ext/pdf/pdf.c
@@ -2176,7 +2176,7 @@ PHP_FUNCTION(pdf_get_buffer) {
buffer = PDF_get_buffer(pdf, &size);
- RETURN_STRINGL((char *)buffer, size, 0);
+ RETURN_STRINGL((char *)buffer, size, 1);
}
/* }}} */