Eliminate 64-bit compiler warnings in atomic_ops_malloc
authorIvan Maidanski <ivmai@mail.ru>
Sun, 7 Oct 2012 13:06:15 +0000 (17:06 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 7 Oct 2012 13:06:15 +0000 (17:06 +0400)
commit0ff771b50a4eb1e1c8125f7ee1501e74ea116b9e
tree74bffbcb63ff2577745a4c4b34ba6925e4c45456
parenteb719a75a2029e8000f0a3da254ff4c260f1edca
Eliminate 64-bit compiler warnings in atomic_ops_malloc

* src/atomic_ops_malloc.c (add_chunk_as): Cast shifted value to size_t
(the type of assigned variable, at least to eliminate compiler warning
for 64-bit targets).
* src/atomic_ops_malloc.c (AO_free): Cast (*base) to int (the type of
assigned variable) to eliminate MS VC compiler warning.
src/atomic_ops_malloc.c