diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2016-10-17 08:08:18 +0300 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2016-10-17 08:08:18 +0300 |
| commit | 7bceefbbd85a5b873e46299a4a55f50e2b56294a (patch) | |
| tree | ffe539462899f1d92652e425655b233e3e9d4218 /tests | |
| parent | 53726beb93453583ce8413791dc731d1779e959d (diff) | |
| download | libatomic_ops-7bceefbbd85a5b873e46299a4a55f50e2b56294a.tar.gz | |
Workaround 'overflow in pointer subtraction' cppcheck warning
* src/atomic_ops_malloc.c (AO_free): Do not perform subtraction from
"p" argument if its value is null; change type of "base" local variable
from char* to AO_t*.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
