summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/generic/config.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index 913a1cfe3cb6..fdc73360d3dc 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -104,7 +104,7 @@ static sal_uInt8* ImplSysReadConfig( const OUString& rFileName,
sal_uInt64 nPos = 0;
if( aFile.getSize( nPos ) == ::osl::FileBase::E_None )
{
- if (nPos > std::numeric_limits< std::size_t >::max()) {
+ if (nPos > SAL_MAX_SIZE) {
aFile.close();
return 0;
}