Fix some compiler warnings:  atomic_t on FreeBSD is unsigned
Merge pull request #3 from kientzle/05a689b3ed74fa3510c64090aecfb079a2dea3fb

Fix compiler error.