Fix compilation warning from gcc 4.2.1 on FreeBSD