changed prog_char to const prog_char so we can compile with 1.0.5