aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/optional_debug_tools.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-04-23 11:23:01 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-04-23 11:25:36 -0700
commitf0d5d2047833c7221ce3be1690689ca1c6658add (patch)
tree4bba4c1e67d7d0531b9c343a3f5eb7a39bb620d3 /tensorflow/contrib/lite/optional_debug_tools.cc
parent26ff316f49e613a7f9cba02dd5e7d6cd5aa78623 (diff)
Convert int -> size_t so that implicit conversion doesn't lose integer precision.
PiperOrigin-RevId: 193955175
Diffstat (limited to 'tensorflow/contrib/lite/optional_debug_tools.cc')
-rw-r--r--tensorflow/contrib/lite/optional_debug_tools.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/lite/optional_debug_tools.cc b/tensorflow/contrib/lite/optional_debug_tools.cc
index e1366639c7..e0a0910117 100644
--- a/tensorflow/contrib/lite/optional_debug_tools.cc
+++ b/tensorflow/contrib/lite/optional_debug_tools.cc
@@ -72,7 +72,7 @@ const char* AllocTypeName(TfLiteAllocationType type) {
// Prints a dump of what tensors and what nodes are in the interpreter.
void PrintInterpreterState(Interpreter* interpreter) {
- printf("Interpreter has %d tensors and %d nodes\n",
+ printf("Interpreter has %lu tensors and %lu nodes\n",
interpreter->tensors_size(), interpreter->nodes_size());
printf("Inputs:");
PrintIntVector(interpreter->inputs());