Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove redundant cast.
[simgrid.git] / src / sthread / sthread.c
index 15f01a8..5b31764 100644 (file)
@@ -174,7 +174,7 @@ int gettimeofday(struct timeval* tv, XBT_ATTRIB_UNUSED TIMEZONE_TYPE* tz)
     intercepter_init();
 
   if (sthread_inside_simgrid)
-    return raw_gettimeofday(tv, (void*)tz);
+    return raw_gettimeofday(tv, tz);
 
   sthread_inside_simgrid = 1;
   int res                = sthread_gettimeofday(tv);