a few clang warning fixes

hi @fastred, great library! made a couple minor modifications so that it could compile in one of my projects.

i use a pretty strict environment, if you're curious, the configuration can be found here:

https://github.com/piemonte/xconfig