fixed compiler error issue in changes to ata-all.c