diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-08-04 14:30:51 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-08-04 14:30:51 +0000 |
commit | 586f31061872e71605c7406dc424dbcbeee649fb (patch) | |
tree | c530e2a3c5995adcbbf507b808ba896e1e0a2336 /libdm/libdm-report.c | |
parent | 6fb5fbbabf57e554666eb140bbc7174790e4468c (diff) | |
download | lvm2-586f31061872e71605c7406dc424dbcbeee649fb.tar.gz lvm2-586f31061872e71605c7406dc424dbcbeee649fb.tar.xz lvm2-586f31061872e71605c7406dc424dbcbeee649fb.zip |
Remove meaningless const type qualifiers on cast type
Static analyzis noticed we do not really need them - so removing.
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r-- | libdm/libdm-report.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index 021a21c8..3d34b7e3 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -139,7 +139,7 @@ int dm_report_field_int(struct dm_report *rh, return 0; } - *sortval = (const uint64_t) value; + *sortval = (uint64_t) value; field->sort_value = sortval; field->report_string = repstr; @@ -168,7 +168,7 @@ int dm_report_field_uint32(struct dm_report *rh, return 0; } - *sortval = (const uint64_t) value; + *sortval = (uint64_t) value; field->sort_value = sortval; field->report_string = repstr; @@ -197,7 +197,7 @@ int dm_report_field_int32(struct dm_report *rh, return 0; } - *sortval = (const uint64_t) value; + *sortval = (uint64_t) value; field->sort_value = sortval; field->report_string = repstr; |