chiark / gitweb /
shared/capabilities: simplify assertions about bits
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Feb 2015 15:24:02 +0000 (10:24 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Feb 2015 15:27:09 +0000 (10:27 -0500)
commit2c9fc26670ef85a14d16a72bc16e7368f76c28f4
tree41707dbfc974c8e4b3f6d772e721bb1769dc7dca
parent6295ba8c3d448d993d750c0cc0da44cca77480e7
shared/capabilities: simplify assertions about bits

The assert added in 7d328b5446 was wrong. Also update the comments
and make sure we don't try to shift by type size.
src/shared/capability.c