fix gcc compile warnings .