clang warning

bug 42257

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Fix OpenBSD build

bug 42239

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>