diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-07-20 19:51:10 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-07-20 19:52:18 +0200 |
commit | cf29d1766656f1158df127fb8a29b868d550eb82 (patch) | |
tree | 403ad22a18e9df2e0e01ada9c8589e693cd8ce8a | |
parent | d181aaaed45fcdf997d2cd1bf627d90ae643cff1 (diff) | |
download | ceph-cf29d1766656f1158df127fb8a29b868d550eb82.tar.gz |
rgw/rgw_bucket.cc: use static_cast<>() instead of C-Style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/rgw/rgw_bucket.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rgw/rgw_bucket.cc b/src/rgw/rgw_bucket.cc index 7b22f44790b..ed8c4fae78e 100644 --- a/src/rgw/rgw_bucket.cc +++ b/src/rgw/rgw_bucket.cc @@ -1464,7 +1464,7 @@ public: } int list_keys_next(void *handle, int max, list<string>& keys, bool *truncated) { - list_keys_info *info = (list_keys_info *)handle; + list_keys_info *info = static_cast<list_keys_info *>(handle); string no_filter; @@ -1498,7 +1498,7 @@ public: } void list_keys_complete(void *handle) { - list_keys_info *info = (list_keys_info *)handle; + list_keys_info *info = static_cast<list_keys_info *>(handle); delete info; } }; @@ -1611,7 +1611,7 @@ public: } int list_keys_next(void *handle, int max, list<string>& keys, bool *truncated) { - list_keys_info *info = (list_keys_info *)handle; + list_keys_info *info = static_cast<list_keys_info *>(handle); string no_filter; @@ -1646,7 +1646,7 @@ public: } void list_keys_complete(void *handle) { - list_keys_info *info = (list_keys_info *)handle; + list_keys_info *info = static_cast<list_keys_info *>(handle); delete info; } |