Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: Align use of uint64_t in service_daemon::AttributeType #16938

Merged
merged 1 commit into from
Aug 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/tools/rbd_mirror/InstanceReplayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ void InstanceReplayer<I>::start_image_replayers(int r) {
return;
}

size_t image_count = 0;
size_t warning_count = 0;
size_t error_count = 0;
uint64_t image_count = 0;
uint64_t warning_count = 0;
uint64_t error_count = 0;
for (auto it = m_image_replayers.begin();
it != m_image_replayers.end();) {
auto current_it(it);
Expand Down
2 changes: 1 addition & 1 deletion src/tools/rbd_mirror/PoolWatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class PoolWatcher {
void init(Context *on_finish = nullptr);
void shut_down(Context *on_finish);

inline size_t get_image_count() const {
inline uint64_t get_image_count() const {
Mutex::Locker locker(m_lock);
return m_image_ids.size();
}
Expand Down