From: lishuhao Date: Sun, 14 Apr 2019 12:35:02 +0000 (+0800) Subject: fix the type of _size in class interval_set, int64_t -> uint64_t X-Git-Tag: v15.1.0~2697^2~10 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b7a000288894b2c44453a18744b759ab38ac6d23;p=ceph-ci.git fix the type of _size in class interval_set, int64_t -> uint64_t Signed-off-by: Ning Yao Signed-off-by: lishuhao --- diff --git a/src/include/interval_set.h b/src/include/interval_set.h index dcb1a0a7d33..6b6237d7cf7 100644 --- a/src/include/interval_set.h +++ b/src/include/interval_set.h @@ -331,7 +331,7 @@ class interval_set { return _size == other._size && m == other.m; } - int64_t size() const { + uint64_t size() const { return _size; } @@ -726,7 +726,7 @@ class interval_set { private: // data - int64_t _size; + uint64_t _size; Map m; // map start -> len };