From 2a0b46192677a6b637564af41956b69ec718cb9b Mon Sep 17 00:00:00 2001 From: Eugene Date: Thu, 29 Sep 2016 02:15:25 +0100 Subject: [PATCH] fixed warning about unsigned-signed comparison in imgtool (#258) --- tools/imglab/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imglab/src/main.cpp b/tools/imglab/src/main.cpp index f761e6690..8b5085f14 100644 --- a/tools/imglab/src/main.cpp +++ b/tools/imglab/src/main.cpp @@ -557,7 +557,7 @@ int resample_dataset(const command_line_parser& parser) const size_t obj_size = get_option(parser,"cropped-object-size",100*100); const double margin_scale = get_option(parser,"crop-size",2.5); // cropped image will be this times wider than the object. - const long min_object_size = get_option(parser,"min-object-size",1); + const unsigned long min_object_size = get_option(parser,"min-object-size",1); dlib::image_dataset_metadata::dataset data, resampled_data; std::ostringstream sout;