[PATCH] kernelbase: Fix a typo in weights comparison helper (Coverity).