replacement.size is `size_t`, so that would give a (well-deserved) warning if `-Wconversion` is activated. New files should be compiled with `-Wconversion` from the start, it decreases churn and suffering.