Browse Source

Fix lldiv error in windows cgminer_t calculation.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
563cad189e
  1. 2
      util.c

2
util.c

@ -982,7 +982,7 @@ void cgtimer_time(cgtimer_t *ts_start)
decius_time(&lidiv); decius_time(&lidiv);
ts_start->tv_sec = lidiv.quot; ts_start->tv_sec = lidiv.quot;
ts_start->tv_nsec = lidiv.quot * 100; ts_start->tv_nsec = lidiv.rem * 100;
} }
#else /* WIN32 */ #else /* WIN32 */
void cgtime(struct timeval *tv) void cgtime(struct timeval *tv)

Loading…
Cancel
Save