summaryrefslogtreecommitdiff
path: root/zip/ZipArchive/ZipFileMapping_lnx.h
diff options
context:
space:
mode:
Diffstat (limited to 'zip/ZipArchive/ZipFileMapping_lnx.h')
-rw-r--r--zip/ZipArchive/ZipFileMapping_lnx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zip/ZipArchive/ZipFileMapping_lnx.h b/zip/ZipArchive/ZipFileMapping_lnx.h
index 283d4f5..acc9e36 100644
--- a/zip/ZipArchive/ZipFileMapping_lnx.h
+++ b/zip/ZipArchive/ZipFileMapping_lnx.h
@@ -1,6 +1,6 @@
////////////////////////////////////////////////////////////////////////////////
-// This source file is part of the ZipArchive library source distribution and
-// is Copyrighted 2000 - 2007 by Artpol Software - Tadeusz Dracz
+// This source file is part of the ZipArchive Library Open Source distribution
+// and is Copyrighted 2000 - 2022 by Artpol Software - Tadeusz Dracz
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -9,7 +9,7 @@
//
// For the licensing details refer to the License.txt file.
//
-// Web Site: http://www.artpol-software.com
+// Web Site: https://www.artpol-software.com
////////////////////////////////////////////////////////////////////////////////
#ifndef ZIPARCHIVE_ZIPFILEMAPPING_DOT_H
@@ -32,7 +32,7 @@ namespace ZipArchiveLib
{
if (!pFile)
return false;
- m_iSize = pFile->GetLength();
+ m_iSize = (size_t)pFile->GetLength();
m_pFileMap = mmap(0, m_iSize, PROT_READ|PROT_WRITE, MAP_SHARED, pFile->m_hFile, 0);
return (m_pFileMap != NULL);
}