From 720e1984259d62592073286a3b8a1ced90ad44b7 Mon Sep 17 00:00:00 2001 From: Chao Mei Date: Tue, 2 Jul 2019 21:23:07 -0700 Subject: [PATCH] Fix the type to avoid comparison of integers of different signs. PiperOrigin-RevId: 256296358 --- tensorflow/lite/experimental/ruy/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/lite/experimental/ruy/context.h b/tensorflow/lite/experimental/ruy/context.h index 06ddcd9cebd..194e0af3462 100644 --- a/tensorflow/lite/experimental/ruy/context.h +++ b/tensorflow/lite/experimental/ruy/context.h @@ -60,7 +60,7 @@ struct Context final { } void EnsureNPerThreadStates(int thread_count) { - while (per_thread_states.size() < thread_count) { + while (per_thread_states.size() < static_cast(thread_count)) { per_thread_states.emplace_back(new PerThreadState); } }