X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=cvaux%2Finclude%2Fcvaux.hpp;h=37ae8978b23b75ea49ccb603c2a510e209b25bff;hb=80cd7b93506cc1926882d5fd08a2c74ee9359e29;hp=6de06054c902a6aaa63e8ba93f14538a9f954f2a;hpb=467a270adf12425827305759c0c4ea8f5b2b3854;p=opencv diff --git a/cvaux/include/cvaux.hpp b/cvaux/include/cvaux.hpp index 6de0605..37ae897 100644 --- a/cvaux/include/cvaux.hpp +++ b/cvaux/include/cvaux.hpp @@ -112,7 +112,7 @@ public: { return m_back_project; } float query( int* bin ) const - { return m_hist ? cvGetRealND(m_hist->bins, bin) : 0.f; } + { return m_hist ? (float)cvGetRealND(m_hist->bins, bin) : 0.f; } protected: