Fix a cast warning at compilation time for libmapi++
authorJulien Kerihuel <j.kerihuel@openchange.org>
Wed, 2 Dec 2009 17:07:35 +0000 (17:07 +0000)
committerJulien Kerihuel <j.kerihuel@openchange.org>
Wed, 2 Dec 2009 17:07:35 +0000 (17:07 +0000)
libmapi++/property_container.h

index 82cd7dd82361c4aa1da9fc7e5462ce7ebca033b9..3f21629f06f9859fae28517f5881aa7b2cc2557f 100644 (file)
@@ -296,7 +296,7 @@ class property_container {
                {
                        for (uint32_t i = 0; i < m_cn_vals; ++i)
                        {
-                               if (m_property_values[i].ulPropTag == property_tag)
+                         if ((uint32_t)m_property_values[i].ulPropTag == property_tag)
                                        return get_SPropValue_data(&m_property_values[i]);
                        }