diff --git a/src/lib/misc.c b/src/lib/misc.c index 528927a..ccb7186 100644 --- a/src/lib/misc.c +++ b/src/lib/misc.c @@ -227,5 +227,5 @@ unsigned long countUnusedKeySize(char *text, char *key) unsigned long compareTimeMicro(struct timeval startTime, struct timeval finishTime) { - return (finishTime.tv_sec - startTime.tv_sec) * 1000000 + finishTime.tv_usec - startTime.tv_usec; + return (finishTime.tv_sec - startTime.tv_sec) * 1000000 + finishTime.tv_usec - startTime.tv_usec; } \ No newline at end of file