fix linux gcc  warning.