Skip to content

Commit

Permalink
Correct type of size_t - size_t to be size_t in tracez_processor_test (
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored Oct 5, 2020
1 parent cbcc63e commit af7bee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/test/zpages/tracez_processor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool ContainsNames(const std::vector<std::string> &names,
if (name_end == 0)
name_end = names.size();

unsigned int num_names = name_end - name_start;
size_t num_names = name_end - name_start;

if (num_names > running.size() || // More names than spans, can't have all names
(one_to_one_correspondence && num_names != running.size()))
Expand Down

0 comments on commit af7bee7

Please sign in to comment.