fixed warning on OpenBSD