Fixing warning C4146: unary minus operator applied to unsigned type, result still unsigned

Making compiler happy
fseek defined with long. I don't see much reason to invent something new there