summaryrefslogtreecommitdiffstats
path: root/src/util/string_buffer.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-03-26 10:52:43 -0700
committerIan Romanick <[email protected]>2018-03-29 14:09:28 -0700
commitcd18aa1e50e4668c8d992816bcdb74376dd1064c (patch)
treeb0872c60db06300edeb742ecd786118c59bce4d1 /src/util/string_buffer.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 <[email protected]> Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/util/string_buffer.h')
0 files changed, 0 insertions, 0 deletions