From: Danny Al-Gaaf Date: Tue, 5 Nov 2013 20:33:33 +0000 (+0100) Subject: rgw/rgw_user.cc: use static_cast<>() instead of C-Style cast X-Git-Tag: v0.74~90^2~1^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9226a97aa26079e8e111742dc25807777dea748c;p=ceph.git rgw/rgw_user.cc: use static_cast<>() instead of C-Style cast Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_user.cc b/src/rgw/rgw_user.cc index dc529e3d48d..e4462ec11e0 100644 --- a/src/rgw/rgw_user.cc +++ b/src/rgw/rgw_user.cc @@ -2358,7 +2358,7 @@ public: } int list_keys_next(void *handle, int max, list& keys, bool *truncated) { - list_keys_info *info = (list_keys_info *)handle; + list_keys_info *info = static_cast(handle); string no_filter; @@ -2387,7 +2387,7 @@ public: } void list_keys_complete(void *handle) { - list_keys_info *info = (list_keys_info *)handle; + list_keys_info *info = static_cast(handle); delete info; } };