cfdisk: fix compiler warnings [-Wcast-qual]
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
e736434bc8
commit
f2cfb2351a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue