]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
include/atomic: make 32-bit atomic64_t unsigned 1924/head 1925/head
authorSage Weil <sage@inktank.com>
Thu, 5 Jun 2014 17:43:16 +0000 (10:43 -0700)
committerSage Weil <sage@inktank.com>
Thu, 5 Jun 2014 18:59:31 +0000 (11:59 -0700)
commit2081c992bbe3a83d711f465634d19c011d28ea3e
tree3c034086e325426978f6c3c3ac1a80b5171523d4
parent1bbebb54835722985c437558df8391d810db1c6d
include/atomic: make 32-bit atomic64_t unsigned

This fixes

In file included from test/perf_counters.cc:19:0:
./common/perf_counters.h: In member function ‘std::pair PerfCounters::perf_counter_data_any_d::read_avg() const’:
warning: ./common/perf_counters.h:156:36: comparison between signed and unsigned integer expressions [-Wsign-compare]
} while (avgcount2.read() != count);
^

Signed-off-by: Sage Weil <sage@inktank.com>
src/include/atomic.h