malloc cast added by siiky on Mon Apr 19 19:20:54 2021

$ cat test.c
#include <stdlib.h>

int main (void)
{
	long long * ptr = malloc(9 * sizeof(long long));
	(void) ptr[0];
	return 0;
}
$ gcc -Wall -Wextra -Werror test.c -o test
$ ./test
$ echo $?
0
$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110