Prevent warning about discarding 'const' qualifier