Change calloc to malloc
Change const from lower case to upper case