git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge pull request #213 from svost/qt-solution
[novacoin.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
03f86e7
..
8cc62eb
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-1271,7
+1271,7
@@
void ShrinkDebugFile()
{
// Restart the file with some of the end
char pch[200000];
- fseek(file, -sizeof(pch), SEEK_END);
+ fseek(file, (long long)-sizeof(pch), SEEK_END);
int nBytes = fread(pch, 1, sizeof(pch), file);
fclose(file);