summaryrefslogtreecommitdiffstats
path: root/writerperfect/source/common/WPXSvInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/common/WPXSvInputStream.cxx')
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index c3e4477781e7..b864966f6567 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -832,7 +832,7 @@ const unsigned char *WPXSvInputStream::read(unsigned long numBytes, unsigned lon
{
numBytesRead = 0;
- if (numBytes == 0 || numBytes > (std::numeric_limits<unsigned long>::max)()/2)
+ if (numBytes == 0 || numBytes > std::numeric_limits<unsigned long>::max()/2)
return nullptr;
if (mpImpl->mpReadBuffer)