cfdisk: fix compiler warnings [-Wcast-qual]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2018-07-23 13:08:56 +02:00
parent e736434bc8
commit f2cfb2351a
1 changed files with 1 additions and 1 deletions

View File

@ -1745,7 +1745,7 @@ static ssize_t ui_get_string(const char *prompt,
clrtoeol();
if (prompt) {
mvaddstr(ln, cl, (char *) prompt);
mvaddstr(ln, cl, prompt);
cl += mbs_safe_width(prompt);
}