diff --git a/src/cli.c b/src/cli.c index 881d17d1..455bbbe8 100644 --- a/src/cli.c +++ b/src/cli.c @@ -196,7 +196,7 @@ static int detect_file_format(const char *file_name) { // Find the last delimiter char ( / or \ ). Hope the other kind is not used in the name. // If delim is not found, set pointer to the beginning. - unsigned char* sub_str = (unsigned char*)strrchr(file_name, '.'); + char* sub_str = (char*)strrchr(file_name, '.'); if (!sub_str) return 0; // KVZ_FILE_FORMAT