diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index b2aa1bff1a..cbf9fec263 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -640,7 +640,7 @@ public: \ \ /* count() == 0 | 1 */ \ size_type count( const const_key_type& key ) \ - { return GetNode( key ) ? 1 : 0; } \ + { return GetNode( key ) ? 1u : 0u; } \ } #endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP)