Fix warnings about discarding qualifiers
Fix warnings about discarding qualifiers