Insert explicit cast to malloc implementation
Pointer equality and NULL