summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2021-09-01 21:33:29 +0930
committerAdrian Johnson <ajohnson@redneon.com>2021-09-02 18:39:53 +0930
commit6e3c7431ff3f9179c355289ac1fa3bab8750c463 (patch)
treec05b5bfe3229433ac1b1858ef48a4ff2f2657bb6 /src/cairo-pdf-surface-private.h
parent42d3f4cc29338dce02faf062ef6f18a1fe32ca99 (diff)
downloadcairo-6e3c7431ff3f9179c355289ac1fa3bab8750c463.tar.gz
Allow > 2GB PDF files on platforms with 32-bit long
Diffstat (limited to 'src/cairo-pdf-surface-private.h')
-rw-r--r--src/cairo-pdf-surface-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pdf-surface-private.h b/src/cairo-pdf-surface-private.h
index b2d857550..1d3d17d26 100644
--- a/src/cairo-pdf-surface-private.h
+++ b/src/cairo-pdf-surface-private.h
@@ -302,7 +302,7 @@ struct _cairo_pdf_surface {
cairo_bool_t active;
cairo_pdf_resource_t self;
cairo_pdf_resource_t length;
- long start_offset;
+ long long start_offset;
cairo_bool_t compressed;
cairo_output_stream_t *old_output;
} pdf_stream;