aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFExc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFExc.hh')
-rw-r--r--include/qpdf/QPDFExc.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/qpdf/QPDFExc.hh b/include/qpdf/QPDFExc.hh
index f8e23ffb..c306ee1e 100644
--- a/include/qpdf/QPDFExc.hh
+++ b/include/qpdf/QPDFExc.hh
@@ -21,7 +21,7 @@ class QPDFExc: public std::runtime_error
QPDFExc(qpdf_error_code_e error_code,
std::string const& filename,
std::string const& object,
- off_t offset,
+ qpdf_offset_t offset,
std::string const& message);
QPDF_DLL
virtual ~QPDFExc() throw ();
@@ -43,20 +43,20 @@ class QPDFExc: public std::runtime_error
QPDF_DLL
std::string const& getObject() const;
QPDF_DLL
- off_t getFilePosition() const;
+ qpdf_offset_t getFilePosition() const;
QPDF_DLL
std::string const& getMessageDetail() const;
private:
static std::string createWhat(std::string const& filename,
std::string const& object,
- off_t offset,
+ qpdf_offset_t offset,
std::string const& message);
qpdf_error_code_e error_code;
std::string filename;
std::string object;
- off_t offset;
+ qpdf_offset_t offset;
std::string message;
};