Fix gcc compile warning