casting the offset to a unsigned type. This fixes the NetBSD/i386 and hopefully the NetBSD/amd64 build.