aboutsummaryrefslogtreecommitdiff
path: root/src/istream/buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/istream/buffer.cc')
-rw-r--r--src/istream/buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/istream/buffer.cc b/src/istream/buffer.cc
index 26697f4..2a195e0 100644
--- a/src/istream/buffer.cc
+++ b/src/istream/buffer.cc
@@ -20,7 +20,7 @@ void IstreamBuf::readChunk(long n) {
std::fseek(dictzip_file_, data_offset_ + chunkN.offset, SEEK_SET);
- if ( fread(zBuf, 1, chunkN.size, dictzip_file_) != chunkN.size ) {
+ if ( std::fread(zBuf, 1, chunkN.size, dictzip_file_) != chunkN.size ) {
throw std::runtime_error("Could not read dictzip chunk.");
}