Fix offset outside bounds of constant string warnings