]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc,os,osd: fix build on osx 20029/head
authorKefu Chai <kchai@redhat.com>
Fri, 19 Jan 2018 13:09:35 +0000 (21:09 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Jan 2018 13:11:46 +0000 (21:11 +0800)
commitcd0749f81e59d4677ca08b3a9a220c78de22ac3b
treeb5fbcde244cebaf1ad2ec8804ff8ec9fa31bef98
parent31f9af83b30c2c49f74b3e4bc3b10d1bdc275ebd
osdc,os,osd: fix build on osx

on clang on MacOS, size_t is not identical to uint64_t, so we need to do
specify the template parameter if the two parameters' types are
different.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/CMakeLists.txt
src/os/kstore/KStore.cc
src/osd/PG.cc
src/osdc/Striper.cc