Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libext2fs: find/alloc a range of empty blocks
[tools/e2fsprogs.git]
/
lib
/
ext2fs
/
bitops.c
diff --git
a/lib/ext2fs/bitops.c
b/lib/ext2fs/bitops.c
index
7c3f215
..
8e4c05c
100644
(file)
--- a/
lib/ext2fs/bitops.c
+++ b/
lib/ext2fs/bitops.c
@@
-142,7
+142,7
@@
unsigned int ext2fs_bitcount(const void *addr, unsigned int nbytes)
res += popcount8(*cp++);
nbytes--;
}
- p = (__u32 *) cp;
+ p = (
const
__u32 *) cp;
while (nbytes > 4) {
res += popcount32(*p++);