mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: cast resulting value explicitely
This commit is contained in:
parent
0b2be60497
commit
0614c63579
@ -2310,7 +2310,7 @@ static const char *_reserved_name(struct dm_report *rh,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (reserved->type & DM_REPORT_FIELD_RESERVED_VALUE_FUZZY_NAMES) {
|
if (reserved->type & DM_REPORT_FIELD_RESERVED_VALUE_FUZZY_NAMES) {
|
||||||
handler = (dm_report_reserved_handler) frv ? frv->value : reserved->value;
|
handler = (dm_report_reserved_handler) (frv ? frv->value : reserved->value);
|
||||||
c = s[len];
|
c = s[len];
|
||||||
tmp_s = (char *) s;
|
tmp_s = (char *) s;
|
||||||
tmp_s[len] = '\0';
|
tmp_s[len] = '\0';
|
||||||
|
Loading…
Reference in New Issue
Block a user