I guess it should be fine to use `0` instead of `'\0'`, we do it everywhere anyway.