Nikolay Sivov : kernelbase: Fix a typo in weights comparison helper (Coverity).