Fixed #6158 (New check: dangerous sign conversion)