Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / samples / common / format_reader / MnistUbyte.h
index d9d51c4..fd6ae0f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
 // SPDX-License-Identifier: Apache-2.0
 //
 
@@ -47,7 +47,7 @@ public:
         delete this;
     }
 
-    std::shared_ptr<unsigned char> getData(int width, int height) override {
+    std::shared_ptr<unsigned char> getData(size_t width, size_t height) override {
         if ((width * height != 0) && (_width * _height != width * height)) {
             std::cout << "[ WARNING ] Image won't be resized! Please use OpenCV.\n";
             return nullptr;