Skip to content
Commit 4dea97f8 authored by Yury Norov's avatar Yury Norov
Browse files

lib/bitmap: change type of bitmap_weight to unsigned long



bitmap_weight() doesn't return negative values, so change it's type
to unsigned long. It may help compiler to generate better code and
catch bugs.

Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent e2863a78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment