fix for DoPut() from long time ago

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-01-27 12:40:57 +00:00
parent 96f6c703b1
commit 6a5391afa9

View File

@ -274,7 +274,7 @@ private:
protected: \
void DoPut(long key, long value, eltype *data) \
{ \
size_t slot = (size_t)abs(key % m_hashSize); \
size_t slot = (size_t)abs((int)(key % (long)m_hashSize)); \
\
if ( !m_hashTable[slot] ) \
{ \