Fixed #581 : could not create HDFs larger than 2GB
This was missed when adding support for 64-bit file operations, relevant link: https://stackoverflow.com/questions/730709/2gb-limit-on-file-size-when-using-fwrite-in-c
This commit is contained in:
parent
700ddbffa0
commit
684a9b4bce
1 changed files with 1 additions and 2 deletions
|
@ -406,8 +406,7 @@ bool CreateFilesysHardfile()
|
|||
auto size = atoi(txtSize->getText().c_str());
|
||||
if (size < 1)
|
||||
size = 1;
|
||||
if (size > 2048)
|
||||
size = 2048;
|
||||
|
||||
const auto bp = tweakbootpri(atoi(txtBootPri->getText().c_str()), 1, 0);
|
||||
|
||||
const auto newFile = fopen(txtPath->getText().c_str(), "wbe");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue