pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] pdf-fsys-file size function and pdf_size_t


From: Scott Fohey
Subject: [pdf-devel] pdf-fsys-file size function and pdf_size_t
Date: Tue, 29 Dec 2009 11:17:51 -0500

pdf_fsys_file_get_size(...)
pdf_fsys_file_set_size(...)
pdf_fsys_file_set_pos(...)
pdf_fsys_file_get_pos(...)

all convey size information with pdf_size_t.

size_t will be 32-bits on some systems (4GB size limit)
I regularly work with 1GB PDF files - 4GB can't be far off...

Shouldn't we convey all file size information (offsets and sizes) with
pdf_i64_t on all systems?
(I.e. shouldn't we handle these offsets/sizes as pdf_i64_t instead of
pdf_size_t?)

--Scott




reply via email to

[Prev in Thread] Current Thread [Next in Thread]