Ticket #4321: 4321.patch

File 4321.patch, 749 bytes (added by viboes, 12 years ago)
  • thread.cpp

     
    304304   
    305305    unsigned thread::hardware_concurrency()
    306306    {
    307         SYSTEM_INFO info={0};
     307        SYSTEM_INFO info={{0}};
    308308        GetSystemInfo(&info);
    309309        return info.dwNumberOfProcessors;
    310310    }
     
    327327        {
    328328            LARGE_INTEGER get_due_time(detail::timeout const&  target_time)
    329329            {
    330                 LARGE_INTEGER due_time={0};
     330                LARGE_INTEGER due_time={{0}};
    331331                if(target_time.relative)
    332332                {
    333333                    unsigned long const elapsed_milliseconds=GetTickCount()-target_time.start;