About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/util/bitset.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2018-03-26 10:52:43 -0700
committerIan Romanick <ian.d.romanick@intel.com>2018-03-29 14:09:28 -0700
commitcd18aa1e50e4668c8d992816bcdb74376dd1064c (patch)
treeb0872c60db06300edeb742ecd786118c59bce4d1 /src/util/bitset.h
parent22fbb5c5949b1590ef04b6432dd7f3a93a37c2ed (diff)
util: Use util_is_power_of_two_nonzero in u_vector
Previously size=0, element_size=0 would have been allowed. That combination can only lead to despair. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Diffstat (limited to 'src/util/bitset.h')
0 files changed, 0 insertions, 0 deletions