Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use predefined algorithm.
[simgrid.git] / src / sthread / sthread_impl.cpp
index 30e9a2a98a4a57856d609983128346e52668de61..c4aa27d0c8038583d059a4149648d6fe1b9564a3 100644 (file)
@@ -154,7 +154,7 @@ int sthread_gettimeofday(struct timeval* tv)
     double secs  = trunc(now);
     double usecs = (now - secs) * 1e6;
     tv->tv_sec   = static_cast<time_t>(secs);
-    tv->tv_usec  = static_cast<decltype(tv->tv_usec)>(usecs); // suseconds_t (or useconds_t on WIN32)
+    tv->tv_usec  = static_cast<decltype(tv->tv_usec)>(usecs); // suseconds_t
   }
   return 0;
 }