mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Fixing C4146 warning
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
This commit is contained in:
parent
b50e5fe099
commit
1e73504865
2 changed files with 2 additions and 2 deletions
|
|
@ -618,7 +618,7 @@ void ShrinkDebugFile()
|
|||
{
|
||||
// Restart the file with some of the end
|
||||
std::vector <char> vch(200000,0);
|
||||
fseek(file, -vch.size(), SEEK_END);
|
||||
fseek(file, -((long)vch.size()), SEEK_END);
|
||||
int nBytes = fread(begin_ptr(vch), 1, vch.size(), file);
|
||||
fclose(file);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue