Fix "warning: assignment discards qualifiers from pointer target type"