fix incorrect typecasts in FS_* calls