263c263 < char *ext = strrchr(filename, '.'); --- > const char *ext = strrchr(filename, '.');