Update the trunk to the OpenCV's CVS (2008-07-14)
[opencv] / cvaux / include / cvaux.hpp
index 6de0605..37ae897 100644 (file)
@@ -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: