COMP: 64bit label changes

This commit is contained in:
mattijs
2011-11-28 11:10:46 +00:00
parent ea52a8bca6
commit 8558af2cdf
42 changed files with 205 additions and 81 deletions

View File

@ -24,6 +24,7 @@ License
\*---------------------------------------------------------------------------*/
#include "HashTable.H"
#include "uLabel.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -47,7 +48,7 @@ Foam::label Foam::HashTableCore::canonicalSize(const label size)
}
// enforce power of two
unsigned int goodSize = size;
uLabel goodSize = size;
if (goodSize & (goodSize - 1))
{