]> git.ozlabs.org Git - ccan/commit
bitmap: Use a typesafe(ish) parameters instead of void *
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 4 Sep 2013 14:16:47 +0000 (00:16 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 5 Sep 2013 13:31:02 +0000 (23:31 +1000)
commitea15c79c29a3d86a36316e9b3c707cb6f5d0582b
tree4939f59308031d1d3238bc9b6dfa43c6c2f15a23
parentba88f53bc56206c7eccac7eac20447e19c34c024
bitmap: Use a typesafe(ish) parameters instead of void *

This also fixes a bug which will hit on platforms where it's not safe to
dereference a (long *) which is not correctly aligned.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/bitmap/bitmap.h
ccan/bitmap/test/run.c