aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/FileInputSource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/FileInputSource.cc')
-rw-r--r--libqpdf/FileInputSource.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libqpdf/FileInputSource.cc b/libqpdf/FileInputSource.cc
index 2b1ee1ab..7c4d6d42 100644
--- a/libqpdf/FileInputSource.cc
+++ b/libqpdf/FileInputSource.cc
@@ -105,8 +105,7 @@ FileInputSource::seek(qpdf_offset_t offset, int whence)
if (QUtil::seek(this->file, offset, whence) == -1) {
QUtil::throw_system_error(
std::string("seek to ") + this->filename + ", offset " +
- QUtil::int_to_string(offset) + " (" + QUtil::int_to_string(whence) +
- ")");
+ std::to_string(offset) + " (" + std::to_string(whence) + ")");
}
}
@@ -128,8 +127,7 @@ FileInputSource::read(char* buffer, size_t length)
this->filename,
"",
this->last_offset,
- (std::string("read ") + QUtil::uint_to_string(length) +
- " bytes"));
+ (std::string("read ") + std::to_string(length) + " bytes"));
} else if (length > 0) {
this->seek(0, SEEK_END);
this->last_offset = this->tell();