Fixing C4146 warning

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
This commit is contained in:
ENikS 2014-09-02 17:36:45 -04:00 committed by Wladimir J. van der Laan
parent b50e5fe099
commit 1e73504865
No known key found for this signature in database
GPG key ID: 74810B012346C9A6
2 changed files with 2 additions and 2 deletions

View file

@ -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);