It seems the arguments of min have different types on 64bit platform. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac408@3493 e5f2f494-b856-4b98-b285-d166d9295462
@@ -72,7 +72,8 @@ namespace nsas {
// Constructor.
Hash::Hash(uint32_t tablesize, uint32_t maxkeylen, bool randomise) :
- tablesize_(tablesize), maxkeylen_(min(maxkeylen, (255 - sizeof(uint16_t))))
+ tablesize_(tablesize), maxkeylen_(min<uint32_t>(maxkeylen,
+ (255 - sizeof(uint16_t))))
{
// (Code taken from BIND-9)
//