Fix compilation errors with Clang

Description

A few errors like the following will prevent compilation with Clang:

I have a PR ready that fixes all the compilation errors I've encountered:
https://github.com/zeromq/zeromq3-x/pull/93

Environment

FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
Target: x86_64-unknown-freebsd9.1
Thread model: posix

Fixed

Assignee

Unassigned

Reporter

Christophe Juniet

Labels

None

Components

Fix versions

Affects versions

Priority

Minor