On Tue, Sep 22, 2015 at 12:53 PM, Alin Serdean <aserd...@cloudbasesolutions.com> wrote: > We will support x64 bit compiling making this build assert outdated. > > Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> > --- > lib/netlink-socket.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lib/netlink-socket.c b/lib/netlink-socket.c > index 42eb232..6722a86 100644 > --- a/lib/netlink-socket.c > +++ b/lib/netlink-socket.c > @@ -1248,7 +1248,6 @@ int > nl_sock_fd(const struct nl_sock *sock) > { > #ifdef _WIN32 > - BUILD_ASSERT_DECL(sizeof sock->handle == sizeof(int)); > return (int)sock->handle;
What is the size of handle in 64 bit? If it is 64 bit, won't it get truncated? > #else > return sock->fd; > -- > 1.9.5.msysgit.0 > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev