]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Align use of uint64_t in service_daemon::AttributeType 16938/head
authorJames Page <james.page@ubuntu.com>
Wed, 9 Aug 2017 09:04:37 +0000 (10:04 +0100)
committerJames Page <james.page@ubuntu.com>
Wed, 9 Aug 2017 09:08:05 +0000 (10:08 +0100)
commit87fe8e81bc8c9b55c6bef4144714a33e042dc2f7
tree5dba664f080d261de24e8f4565fb670419ecc118
parent2efc7e756ba6ad4749e5a59f7271af3b3c47aca6
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>
src/tools/rbd_mirror/InstanceReplayer.cc
src/tools/rbd_mirror/PoolWatcher.h