aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/jpeg
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/lib/jpeg')
-rw-r--r--tensorflow/core/lib/jpeg/jpeg_mem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/lib/jpeg/jpeg_mem.cc b/tensorflow/core/lib/jpeg/jpeg_mem.cc
index 66e2f749d8..0dddae2459 100644
--- a/tensorflow/core/lib/jpeg/jpeg_mem.cc
+++ b/tensorflow/core/lib/jpeg/jpeg_mem.cc
@@ -540,7 +540,7 @@ bool CompressInternal(const uint8* srcdata, int width, int height,
row_pointer[0] = reinterpret_cast<JSAMPLE*>(const_cast<JSAMPLE*>(r));
}
}
- CHECK_EQ(jpeg_write_scanlines(&cinfo, row_pointer, 1), 1);
+ CHECK_EQ(jpeg_write_scanlines(&cinfo, row_pointer, 1), 1u);
}
jpeg_finish_compress(&cinfo);