I never used _fseeki64 too. It's declared in VC++ <stdio.h>. It has the same parameters as fseek but offset parameter has long long (64-bit in VC++) type.
You have VC++ 2008 installed. Write _fseeki64, select this id then press F1 ;) or see help on fseek function.
It seems you need a very simple correction:
inline
int fseek32(FILE* stream, unsigned int offset, int origin)
{
return _fseeki64(stream,offset,SEEK_SET);
}