From 33b89027fa178a86cc566a641a4bbfe329b99226 Mon Sep 17 00:00:00 2001 From: Yang Chen Date: Fri, 13 May 2022 19:03:16 -0700 Subject: [PATCH] #tf-data-service Fix a type mismatch. Diagnostics generated by clang-tidy: deprecated declarations 'int64' is deprecated: Use int64_t instead. PiperOrigin-RevId: 448622987 --- tensorflow/core/data/service/dispatcher_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/core/data/service/dispatcher_impl.cc b/tensorflow/core/data/service/dispatcher_impl.cc index c0f9143f212e64..2c5811c8519dd7 100644 --- a/tensorflow/core/data/service/dispatcher_impl.cc +++ b/tensorflow/core/data/service/dispatcher_impl.cc @@ -234,7 +234,7 @@ Status DataServiceDispatcherImpl::Start() { size_t DataServiceDispatcherImpl::NumActiveJobs() TF_LOCKS_EXCLUDED(mu_) { mutex_lock l(mu_); - int64 count = 0; + size_t count = 0; for (const auto& job : state_.ListJobs()) { if (!job->finished) { count++;