Fix a typecast...

pull/4828/head
Vijay Pai 9 years ago
parent e51d29d93c
commit 490e5023d7
  1. 3
      test/cpp/end2end/thread_stress_test.cc

@ -46,6 +46,7 @@
#include <grpc/support/time.h>
#include <gtest/gtest.h>
#include "src/core/surface/api_trace.h"
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
#include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/core/util/port.h"
@ -297,7 +298,7 @@ class AsyncClientEnd2endTest : public ::testing::Test {
void* got_tag;
bool ok = false;
if (!cq_.Next(&got_tag, &ok)) break;
Call* call = static_cast<Call*>(got_tag);
AsyncClientCall* call = static_cast<AsyncClientCall*>(got_tag);
GPR_ASSERT(ok);
delete call;

Loading…
Cancel
Save