Warning when compiling with highest level

Hi,

When compiling eeprom.h with highest level of warning compiler, I get the following warning messages

...\libraries\EEPROM\src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

operator const uint8_t() const { return **this; }

^

...\libraries\EEPROM\src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

operator const int() const { return index; }

To remove these two warnings, you can safely remove the first const qualifier on each line which is useless

operator uint8_t() const { return **this; }
operator int() const { return index; }

I use arduino IDE last version (1.8.5) on Windows 10 host

I do not usually use github, I prefer let you perform the job in a correct way :slight_smile:

Kind regards