Skip to content

Commit 2a1c23a

Browse files
author
Oleh Kulykov
committed
1734080423
1 parent 50c52f1 commit 2a1c23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CPP/7zip/Archive/Common/HandlerOut.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CCommonMethodProps
2222
_numThreads_WasForced = false;
2323
#endif
2424

25-
UInt64 memAvail = (UInt64)(sizeof(size_t)) << 28;
25+
size_t memAvail = (size_t)sizeof(size_t) << 28;
2626
_memAvail = memAvail;
2727
_memUsage_Compress = memAvail;
2828
_memUsage_Decompress = memAvail;
@@ -55,7 +55,7 @@ class CCommonMethodProps
5555
bool _memUsage_WasSet;
5656
UInt64 _memUsage_Compress;
5757
UInt64 _memUsage_Decompress;
58-
UInt64 _memAvail;
58+
size_t _memAvail;
5959

6060
bool SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres);
6161

0 commit comments

Comments
 (0)