summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-10-17 08:08:18 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-10-17 08:08:18 +0300
commit7bceefbbd85a5b873e46299a4a55f50e2b56294a (patch)
treeffe539462899f1d92652e425655b233e3e9d4218 /tests
parent53726beb93453583ce8413791dc731d1779e959d (diff)
downloadlibatomic_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