Made array init with memset. Fixed warning with -Wall.