projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quell a (correct) GCC warning in the NO_HTMLHELP case.
[u/mdw/putty]
/
unix
/
uxmisc.c
diff --git
a/unix/uxmisc.c
b/unix/uxmisc.c
index
01e1299
..
300fc54
100644
(file)
--- a/
unix/uxmisc.c
+++ b/
unix/uxmisc.c
@@
-29,7
+29,7
@@
unsigned long getticks(void)
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
return ts.tv_sec * TICKSPERSEC +
- ts.tv_nsec / (1000000 / TICKSPERSEC);
+ ts.tv_nsec / (1000000
000
/ TICKSPERSEC);
}
#endif
{