summaryrefslogtreecommitdiffstats
path: root/libdm/libdm-report.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-08-04 14:30:51 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-08-04 14:30:51 +0000
commit586f31061872e71605c7406dc424dbcbeee649fb (patch)
treec530e2a3c5995adcbbf507b808ba896e1e0a2336 /libdm/libdm-report.c
parent6fb5fbbabf57e554666eb140bbc7174790e4468c (diff)
downloadlvm2-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.c6
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;