Skip to content

Commit 4557374

Browse files
author
Daniel Kroening
committed
use size_t for message counts
1 parent 85a81ea commit 4557374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/message.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class message_handlert
6565
void set_verbosity(unsigned _verbosity) { verbosity=_verbosity; }
6666
unsigned get_verbosity() const { return verbosity; }
6767

68-
unsigned get_message_count(unsigned level) const
68+
std::size_t get_message_count(unsigned level) const
6969
{
7070
if(level>=message_count.size())
7171
return 0;
@@ -75,7 +75,7 @@ class message_handlert
7575

7676
protected:
7777
unsigned verbosity;
78-
std::vector<unsigned> message_count;
78+
std::vector<std::size_t> message_count;
7979
};
8080

8181
class null_message_handlert:public message_handlert

0 commit comments

Comments
 (0)