tidy-up: drop stray casts for allocated pointers

Closes #21865
This commit is contained in:
Viktor Szakats 2026-06-05 01:23:06 +02:00
parent cb307544ad
commit 1b8f4dba28
No known key found for this signature in database
16 changed files with 22 additions and 32 deletions

View file

@ -89,7 +89,7 @@ static voidpf zalloc_cb(voidpf opaque, unsigned int items, unsigned int size)
{
(void)opaque;
/* not a typo, keep it curlx_calloc() */
return (voidpf)curlx_calloc(items, size);
return curlx_calloc(items, size);
}
static void zfree_cb(voidpf opaque, voidpf ptr)