Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove redundant cast.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 18 Jul 2022 07:39:39 +0000 (09:39 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 18 Jul 2022 07:39:39 +0000 (09:39 +0200)
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);