aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-07-18 14:13:31 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-07-18 14:13:31 -0700
commit44a2f25667fa902edcfa0e184be9e980ac002664 (patch)
treee684dde183062d38f050d3c8b234ecbdccb66ae4 /test/core/end2end
parent51d002244816d53623d1743df15fe26e94f9e8b6 (diff)
s/MAX_INT/INT_MAX/
Diffstat (limited to 'test/core/end2end')
-rw-r--r--test/core/end2end/tests/filter_call_init_fails.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/end2end/tests/filter_call_init_fails.c b/test/core/end2end/tests/filter_call_init_fails.c
index a1699e86c9..78cc56921e 100644
--- a/test/core/end2end/tests/filter_call_init_fails.c
+++ b/test/core/end2end/tests/filter_call_init_fails.c
@@ -33,6 +33,7 @@
#include "test/core/end2end/end2end_tests.h"
+#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
@@ -246,7 +247,7 @@ static bool maybe_add_filter(grpc_channel_stack_builder *builder, void *arg) {
}
static void init_plugin(void) {
- grpc_channel_init_register_stage(GRPC_SERVER_CHANNEL, MAX_INT,
+ grpc_channel_init_register_stage(GRPC_SERVER_CHANNEL, INT_MAX,
maybe_add_filter, NULL);
}