in gkserver.cxx
 
variable identifierBase is defined as type time_t  and in vs2008 time_t is  type __time64_t ( __int64 )
 
psprintf("%x:%u", identifierBase, nextIdentifier++)  always output "xxxxxx:0", then CreateEndPointIdentifier() will return same indentifier at anytime
PString H323GatekeeperServer::CreateEndPointIdentifier()
{
  PWaitAndSignal wait(mutex);
  //return psprintf("%x:%u", identifierBase, nextIdentifier++); //  <---bug here
  return psprintf("%x:%u", (int)identifierBase, nextIdentifier++);
}

Best Regards,

bian




好玩贺卡等你发,邮箱贺卡全新上线!