Fix gcc compile warning.