X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd4e32afe7023f2ebc97b15674ee3b7def480e45..4f32b3cf15277e10835d359acb8b3e87ee041699:/include/wx/hashmap.h diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index b6ff1455e2..2b3d1e665f 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: hashmap.h +// Name: wx/hashmap.h // Purpose: wxHashMap class // Author: Mattia Barbon // Modified by: @@ -467,8 +467,8 @@ class WXDLLIMPEXP_BASE wxIntegerHash #if defined wxLongLong_t && !defined wxLongLongIsLong size_t longlongHash( wxLongLong_t x ) const { - return longHash( wx_truncate_cast(long, x) ) ^ - longHash( wx_truncate_cast(long, x >> (sizeof(long) * 8)) ); + return longHash( wx_truncate_cast(wxUint32, x) ) ^ + longHash( wx_truncate_cast(wxUint32, x >> (sizeof(wxUint32) * 8)) ); } #endif @@ -708,4 +708,3 @@ WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual, #endif // _WX_HASHMAP_H_ -