Code

src/liboping.c: Use sizeof(*ptr) instead of sizeof(type_t).
authorFlorian Forster <ff@octo.it>
Tue, 9 May 2017 06:40:33 +0000 (08:40 +0200)
committerFlorian Forster <ff@octo.it>
Tue, 9 May 2017 06:40:33 +0000 (08:40 +0200)
commit9bb97adae60f9fabc9ccfcbd5211491bc1128b9c
tree0755defc29a3b4961605ced3c7587170ffbdcf64
parentfb632fa5f0abc4e44e757a892dd28339e904b8f1
src/liboping.c: Use sizeof(*ptr) instead of sizeof(type_t).

Also remove an unnecessary cast from void* to pingobj_t*.
src/liboping.c