diff options
author | Karel Zak | 2018-07-23 13:08:56 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-23 13:08:56 +0200 |
commit | f2cfb2351ae7c292bf4604322a7d0a7c1d0da043 (patch) | |
tree | db677768c656a21c35514508297a8364ddcee8b5 /disk-utils | |
parent | blkid: fix compiler warnings [-Wcast-qual] (diff) | |
download | kernel-qcow2-util-linux-f2cfb2351ae7c292bf4604322a7d0a7c1d0da043.tar.gz kernel-qcow2-util-linux-f2cfb2351ae7c292bf4604322a7d0a7c1d0da043.tar.xz kernel-qcow2-util-linux-f2cfb2351ae7c292bf4604322a7d0a7c1d0da043.zip |
cfdisk: fix compiler warnings [-Wcast-qual]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/cfdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 13c8a62df..25f8e1a9e 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -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); } |