Correcting compile warning with older gcc