Fix header guard

Thanks Clang.
Remove unused

Thanks Clang.
Fix signedness

This should actually be unsigned.