Skip to content

Commit

Permalink
Merge pull request #16938 from javacruft/32bit-compat-fixes
Browse files Browse the repository at this point in the history
tools: Align use of uint64_t in service_daemon::AttributeType

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
Jason Dillaman committed Aug 9, 2017
2 parents 44784b8 + 87fe8e8 commit f634166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit f634166

Please sign in to comment.