fixed linux warnings

This commit is contained in:
Yann Collet committed 2017-01-02 01:11:55 +01:00
1 parent 0ec6a95ba1
commit f1cb55192c
3 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -101,8 +101,8 @@ static clock_us_t BMK_clockMicroSec(void)
static clock_t _ticksPerSecond = 0;
if (_ticksPerSecond <= 0) _ticksPerSecond = sysconf(_SC_CLK_TCK);
struct tms junk; clock_t newTicks = (clock_t) times(&junk); (void)junk;
return ((((clock_us_t)newTicks)*(1000000))/_ticksPerSecond);
{ struct tms junk; clock_t newTicks = (clock_t) times(&junk); (void)junk;
return ((((clock_us_t)newTicks)*(1000000))/_ticksPerSecond); }
}