Skip to content

Commit 0ce4f24

Browse files
committed
fix: use size_t for count in AcronymResult
1 parent eb2ca99 commit 0ce4f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ struct Options {
7777
struct AcronymResult {
7878
Score score;
7979
float pos;
80-
int count;
80+
size_t count;
8181

82-
explicit AcronymResult(Score s, float p, int c) noexcept : score(s), pos(p), count(c) {}
82+
explicit AcronymResult(Score s, float p, size_t c) noexcept : score(s), pos(p), count(c) {}
8383
};
8484

8585
extern Element ToLower(const Element &s);

0 commit comments

Comments
 (0)