diff options
author | Ian Romanick <[email protected]> | 2018-03-26 10:52:43 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-03-29 14:09:28 -0700 |
commit | cd18aa1e50e4668c8d992816bcdb74376dd1064c (patch) | |
tree | b0872c60db06300edeb742ecd786118c59bce4d1 /src/util/hash_table.h | |
parent | 22fbb5c5949b1590ef04b6432dd7f3a93a37c2ed (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 <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/util/hash_table.h')
0 files changed, 0 insertions, 0 deletions