Skip to content

Commit

Permalink
#tf-data-service Fix a type mismatch.
Browse files Browse the repository at this point in the history
Diagnostics generated by clang-tidy: deprecated declarations

'int64' is deprecated: Use int64_t instead.

PiperOrigin-RevId: 448622987
  • Loading branch information
yangustc07 authored and tensorflower-gardener committed May 14, 2022
1 parent 52b1193 commit 33b8902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/data/service/dispatcher_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 33b8902

Please sign in to comment.