Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
rgw/rgw_rados.h: use static_cast instead of c-style cast
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <[email protected]>
  • Loading branch information
dalgaaf committed Jun 25, 2014
1 parent 8700aa0 commit 6d79863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_rados.h
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@ class RGWChainedCacheImpl : public RGWChainedCache {
}

void chain_cb(const string& key, void *data) {
T *entry = (T *)data;
T *entry = static_cast<T *>(data);
RWLock::WLocker wl(lock);
entries[key] = *entry;
}
Expand Down

0 comments on commit 6d79863

Please sign in to comment.