diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-03-21 11:07:24 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-04-21 16:57:07 -0700 |
commit | f3ba909753cd216fc9eca4618a76cc283ccbf51e (patch) | |
tree | 1b48b1c08c341b26ed8d74e339308893021dccbe /Xi/ungrdevb.h | |
parent | a28202a148508837911c5932a0d14af4b145bece (diff) |
Let calloc handle multiplication
It's going to multiply anyway, so if we have non-constant values, might
as well let it do the multiplication instead of adding another multiply,
and good versions of calloc will check for & avoid overflow in the process.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'Xi/ungrdevb.h')
0 files changed, 0 insertions, 0 deletions