afc: change incorrect argument type