]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Align use of uint64_t in service_daemon::AttributeType 16948/head
authorJames Page <james.page@ubuntu.com>
Wed, 9 Aug 2017 09:04:37 +0000 (10:04 +0100)
committerJason Dillaman <dillaman@redhat.com>
Wed, 9 Aug 2017 15:42:15 +0000 (11:42 -0400)
commit1560f5bcdbd93977f5c81e5c9690a417fc17a70e
treebbd4d2665f9b4b8438b77d83760776e3d758814a
parentd0f67f7b3d46b1ab6b59c5a3be577e22764b818b
Align use of uint64_t in service_daemon::AttributeType

size_t on a 32-bit architecture is a 32 bit unsigned int which
created ambiguity when casting to bool, uint64_t or std::string
(which are boost::variants for service_daemon::AttributeType).

Align to use of uint64_t to resolve compilation failures in
all 32-bit architectures.

Signed-off-by: James Page <james.page@ubuntu.com>
(cherry picked from commit 87fe8e81bc8c9b55c6bef4144714a33e042dc2f7)
src/tools/rbd_mirror/InstanceReplayer.cc
src/tools/rbd_mirror/PoolWatcher.h