mirror of
https://github.com/ceph/ceph
synced 2025-03-22 10:17:23 +00:00
rgw/rgw_user.cc: use static_cast<>() instead of C-Style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
548fc13c17
commit
9226a97aa2
@ -2358,7 +2358,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;
|
||||
|
||||
@ -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<list_keys_info *>(handle);
|
||||
delete info;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user