Silence a -Wcast-qual warning