the return value of fgetc **is** an integer

try to support max-256-length variables