diff --git a/src/ntpd.c b/src/ntpd.c
index 4a31e455eece36ad595f8bbc41ac7ee6985c35e7..1071d0b34544aa773017f483381f69333f239234 100644 (file)
--- a/src/ntpd.c
+++ b/src/ntpd.c
*/
DEBUG ("realloc (%p, %zu)", (void *) *res_data,
(items_num + pkt_item_num) * res_item_size);
- items = realloc ((void *) *res_data,
+ items = realloc (*res_data,
(items_num + pkt_item_num) * res_item_size);
if (items == NULL)
{