Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / samples / common / format_reader / bmp.h
index 53ca373..b1b05df 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
 // SPDX-License-Identifier: Apache-2.0
 //
 
@@ -64,7 +64,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;