the int version of the chatacter to META_CHAR() (like other parts of readline do).
chars are unsigned. instead, change it from ((c) < foo && (c) >= 0) to ((unsigned char)(c) < foo) which does the same thing but avoids the warning