mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-21 12:03:31 +03:00
ydiff: fix -Wdiscarded-qualifiers
warning
``` ../../../src/diffviewer/ydiff.c:613:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 613 | next_ch = g_utf8_next_char (str); ``` Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
faea164957
commit
ffd6fd11f7
@ -607,7 +607,7 @@ dview_get_utf (const char *str, int *ch, int *ch_length)
|
||||
}
|
||||
else
|
||||
{
|
||||
char *next_ch;
|
||||
const char *next_ch;
|
||||
|
||||
/* Calculate UTF-8 char length */
|
||||
next_ch = g_utf8_next_char (str);
|
||||
|
Loading…
Reference in New Issue
Block a user