From: Patrick Donnelly Date: Wed, 1 Feb 2023 19:14:52 +0000 (-0500) Subject: mds: use unsigned type for event count X-Git-Tag: v19.0.0~760^2~21 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3c820f4edaf7731c4e14184823d69d30a6034e51;p=ceph.git mds: use unsigned type for event count To resolve comparison warnings in subsequent commit. Signed-off-by: Patrick Donnelly --- diff --git a/src/mds/LogSegment.h b/src/mds/LogSegment.h index 0fbb824b348e6..e6d8a2ca8830c 100644 --- a/src/mds/LogSegment.h +++ b/src/mds/LogSegment.h @@ -70,7 +70,7 @@ class LogSegment { const seq_t seq; uint64_t offset, end; - int num_events = 0; + uint64_t num_events = 0; // dirty items elist dirty_dirfrags, new_dirfrags;