src/fileio.cpp
changeset 10753 428f22725618
parent 10751 ebd94f2d6385
child 10839 a62547c31fdb
equal deleted inserted replaced
10752:332994dbea4e 10753:428f22725618
    72 	_fio.usage_count[slot]++;
    72 	_fio.usage_count[slot]++;
    73 }
    73 }
    74 #endif /* LIMITED_FDS */
    74 #endif /* LIMITED_FDS */
    75 
    75 
    76 /* Seek to a file and a position */
    76 /* Seek to a file and a position */
    77 void FioSeekToFile(uint8 slot, uint32 pos)
    77 void FioSeekToFile(uint8 slot, size_t pos)
    78 {
    78 {
    79 	FILE *f;
    79 	FILE *f;
    80 #if defined(LIMITED_FDS)
    80 #if defined(LIMITED_FDS)
    81 	/* Make sure we have this file open */
    81 	/* Make sure we have this file open */
    82 	FioRestoreFile(slot);
    82 	FioRestoreFile(slot);