Fix a wrong warning from gcc on recent stable and current

Reported by:	peter@