Ticket #4321: 4321.patch
File 4321.patch, 749 bytes (added by , 12 years ago) |
---|
-
thread.cpp
304 304 305 305 unsigned thread::hardware_concurrency() 306 306 { 307 SYSTEM_INFO info={ 0};307 SYSTEM_INFO info={{0}}; 308 308 GetSystemInfo(&info); 309 309 return info.dwNumberOfProcessors; 310 310 } … … 327 327 { 328 328 LARGE_INTEGER get_due_time(detail::timeout const& target_time) 329 329 { 330 LARGE_INTEGER due_time={ 0};330 LARGE_INTEGER due_time={{0}}; 331 331 if(target_time.relative) 332 332 { 333 333 unsigned long const elapsed_milliseconds=GetTickCount()-target_time.start;