I'm using xosfile_read_no_path() and see that the file size returned is an int. Wouldn't an unsigned int not more appropriate ? Or even a proper typedef for it ? John. -- John Tytgat, in his comfy chair at home BASS John.Tytgat at aaug.net ARM powered, RISC OS driven