EEPROM memory categories

What is the type of your variables?
Please post the full relevant code not only the "obvious" parts.