Hanesbrands, one of the world's largest underwear and activewear apparel manufacturers, has said its second-quarter results were in line with expectations, but has lowered its guidance for full-year earnings per share.