git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename superclass member to up in netdev-pltap
[sliver-openvswitch.git]
/
lib
/
util.c
diff --git
a/lib/util.c
b/lib/util.c
index
cbaffa7
..
cd4019e
100644
(file)
--- a/
lib/util.c
+++ b/
lib/util.c
@@
-843,7
+843,7
@@
raw_ctz(uint32_t n)
#endif
/* Returns the number of 1-bits in 'x', between 0 and 32 inclusive. */
-int
+
unsigned
int
popcount(uint32_t x)
{
/* In my testing, this implementation is over twice as fast as any other