TOOLS: Extract_mort - FIX CID 1060932, 1060933

This commit is contained in:
Strangerke 2013-10-30 23:46:05 +01:00
parent d594f62662
commit 39bbcfa59e

View file

@ -104,9 +104,9 @@ public:
return ftell(f);
}
uint32 size() {
int position = ftell(f);
uint32 position = ftell(f);
fseek (f, 0, SEEK_END);
int end = ftell (f);
uint32 end = ftell(f);
fseek (f, position, SEEK_SET);
return end;