mirror of https://github.com/MidnightCommander/mc
Fixed type of variables that store result of get_codepage_id().
This commit is contained in:
parent
205fa24e7d
commit
6e86e9f383
|
@ -282,7 +282,7 @@ edit_load_file_fast (WEdit *edit, const char *filename)
|
|||
long buf, buf2;
|
||||
int file = -1;
|
||||
#ifdef HAVE_CHARSET
|
||||
char *cp_id;
|
||||
const char *cp_id;
|
||||
#endif
|
||||
|
||||
edit->curs2 = edit->last_byte;
|
||||
|
|
|
@ -2336,7 +2336,7 @@ edit_select_codepage_cmd (WEdit *edit)
|
|||
{
|
||||
#ifdef HAVE_CHARSET
|
||||
if (do_select_codepage ()) {
|
||||
char *cp_id;
|
||||
const char *cp_id;
|
||||
|
||||
cp_id = get_codepage_id (source_codepage);
|
||||
if (cp_id != NULL)
|
||||
|
|
Loading…
Reference in New Issue