Skip to content

Commit 910058d

Browse files
PiotrSikoramattklein123
authored andcommitted
upstream: fix build after previous commit. (envoyproxy#2565)
uint64_t is always >= 0. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
1 parent 6d3938c commit 910058d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/common/protobuf/utility.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Envoy {
1010
namespace ProtobufPercentHelper {
1111

1212
uint64_t checkAndReturnDefault(uint64_t default_value, uint64_t max_value) {
13-
ASSERT(default_value >= 0 && default_value <= max_value);
13+
ASSERT(default_value <= max_value);
1414
UNREFERENCED_PARAMETER(max_value);
1515
return default_value;
1616
}

0 commit comments

Comments
 (0)