Monday, August 25, 2008

fpos_t

When compile with gcc, it prompt "cannot convert fpos_t to long int".

Here is the solution:


long dataOffset;
fpos_t filepos;
...
dataOffset = filepos.__pos;

Labels: ,