From 82a5ff8540ab35ec9326f5f49e0ff4e87854c949 Mon Sep 17 00:00:00 2001 From: Adrien BAK Date: Wed, 15 Oct 2014 11:09:33 +0900 Subject: [PATCH] fix warnings in samples --- samples/cpp/cloning_gui.cpp | 2 +- .../cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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*);