Fix signed/unsigned compare to get library to compile w/ MinGW64.