(#526) Fix: CopyLimit overflows at 4GB.
This commit is contained in:
parent
40de6e39c2
commit
e2e021adc0
|
@ -128,7 +128,7 @@ found_match:
|
|||
// if tere is no configuration for this file type/path decide based on the file size
|
||||
//
|
||||
|
||||
if (File_CopyLimitKb == -1 || file_size < (File_CopyLimitKb * 1024))
|
||||
if (File_CopyLimitKb == -1 || file_size < ((ULONGLONG)File_CopyLimitKb * 1024))
|
||||
return FILE_COPY_CONTENT;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue