fix warning in gcc 4.8.2