From 9226a97aa26079e8e111742dc25807777dea748c Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 5 Nov 2013 21:33:33 +0100 Subject: [PATCH] rgw/rgw_user.cc: use static_cast<>() instead of C-Style cast Signed-off-by: Danny Al-Gaaf --- src/rgw/rgw_user.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_user.cc b/src/rgw/rgw_user.cc index dc529e3d48d4b..e4462ec11e05e 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; } }; -- 2.39.5