Used explicit comparison to NULL somewhere.
Made two_level_array_t use the behavior of operator== instead of operator bool.