From 032053d55ddca7de24549bd76f6b874efa06ffb7 Mon Sep 17 00:00:00 2001 From: Katarzyna Miernikiewicz Date: Tue, 25 Aug 2020 10:20:00 +0000 Subject: [PATCH] minor fix --- oss-internship-2020/openjpeg/examples/decompress_example.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oss-internship-2020/openjpeg/examples/decompress_example.cc b/oss-internship-2020/openjpeg/examples/decompress_example.cc index 6d81c2c..4a0cb57 100644 --- a/oss-internship-2020/openjpeg/examples/decompress_example.cc +++ b/oss-internship-2020/openjpeg/examples/decompress_example.cc @@ -20,6 +20,7 @@ #include #include #include +#include #include "absl/algorithm/container.h" #include "convert_helper.h" @@ -160,7 +161,7 @@ int main(int argc, char* argv[]) { LOG(FATAL) << "transfer from sandboxee failed"; return EXIT_FAILURE; } - for (int j = 0; j < width * height; j++) { + for (int j = 0; j < width * height; ++j) { data[i][j] = image_components_data[j]; } image_components[i].data = data[i];