diff --git a/samples/cpp/cloning_gui.cpp b/samples/cpp/cloning_gui.cpp index 07671ca8a6..668dd2a959 100644 --- a/samples/cpp/cloning_gui.cpp +++ b/samples/cpp/cloning_gui.cpp @@ -65,7 +65,7 @@ float alpha,beta; float red, green, blue; -double low_t, high_t; +float low_t, high_t; void source(int, int, int, int, void*); void destination(int, int, int, int, void*); diff --git a/samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp b/samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp index 6edeb3eadb..6ca79a7a04 100644 --- a/samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp +++ b/samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp @@ -64,7 +64,7 @@ float alpha,beta; float red, green, blue; -double low_t, high_t; +float low_t, high_t; void source(int, int, int, int, void*); void destination(int, int, int, int, void*);