From 2ed8c8dd1fe17ca76581ac387fe2e93a71af0617 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 6 Apr 2006 23:45:14 +0000 Subject: [PATCH] some compilers warn about implicitly converting 0 and 1 to size_t -- use 0u and 1u instead git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/hashmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0