From: Arnaud Giersch Date: Mon, 18 Jul 2022 07:39:39 +0000 (+0200) Subject: Remove redundant cast. X-Git-Tag: v3.32~137^2~2 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f9d39abfa3ce35eab31ed0857a7ac4c13cf8fb90 Remove redundant cast. --- diff --git a/src/sthread/sthread.c b/src/sthread/sthread.c index 15f01a8ece..5b31764ceb 100644 --- a/src/sthread/sthread.c +++ b/src/sthread/sthread.c @@ -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);