summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/hwpfile.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-17 13:56:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-17 17:25:58 +0200
commitecae068befc88fe6aa6f8ca09c8e5c9407c11d89 (patch)
tree9f57fc66641e90cd958624c3d7ba74e9879a6a05 /hwpfilter/source/hwpfile.cxx
parentloplugin:useuniqueptr: svl (clang-cl) (diff)
downloadcore-ecae068befc88fe6aa6f8ca09c8e5c9407c11d89.tar.gz
core-ecae068befc88fe6aa6f8ca09c8e5c9407c11d89.zip
ofz#2668 fix oom
Change-Id: Ie30b24a0ad6395d59afa2f2c96b48f98a33f18a8 Reviewed-on: https://gerrit.libreoffice.org/40064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter/source/hwpfile.cxx')
-rw-r--r--hwpfilter/source/hwpfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx
index 00c45475fdf1..8507b5056e20 100644
--- a/hwpfilter/source/hwpfile.cxx
+++ b/hwpfilter/source/hwpfile.cxx
@@ -169,7 +169,7 @@ bool HWPFile::Read4b(int &out)
return true;
}
-int HWPFile::Read1b(void *ptr, size_t nmemb)
+size_t HWPFile::Read1b(void *ptr, size_t nmemb)
{
return hiodev ? hiodev->read1b(ptr, nmemb) : 0;
}