aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/util.cc
diff options
context:
space:
mode:
authorGravatar Suharsh Sivakumar <suharshs@google.com>2017-04-04 08:36:03 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-04-04 09:50:07 -0700
commit0873aa5725dfb401d32ed73e0d28583e3cdc8069 (patch)
tree71ccdf6b1eef2aad9158b70223bd7370ab934d55 /tensorflow/core/util/util.cc
parent9c4124ce9249aa5b2edca441a8e2a01cf6587ddb (diff)
Fix all 64/32 bit warning in core/common_runtime.
Change: 152141388
Diffstat (limited to 'tensorflow/core/util/util.cc')
-rw-r--r--tensorflow/core/util/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/util.cc b/tensorflow/core/util/util.cc
index 3481a6aaa4..1e5a9c5712 100644
--- a/tensorflow/core/util/util.cc
+++ b/tensorflow/core/util/util.cc
@@ -85,7 +85,7 @@ void MovingAverage::AddValue(double v) {
static char hex_char[] = "0123456789abcdef";
-string PrintMemory(const char* ptr, int n) {
+string PrintMemory(const char* ptr, size_t n) {
string ret;
ret.resize(n * 3);
for (int i = 0; i < n; ++i) {