X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fuxmisc.c;h=300fc543762140ba69065a4f3518e4aab9efda3b;hb=afa871e3cfc82eb6b92b02fd1dad094c5d1949f2;hp=01e1299ddb36d5940246f4caf5acb3a4894ced3d;hpb=0395e52bb8db4b77e792ea1c46b2c0024c67986b;p=PuTTY.git diff --git a/unix/uxmisc.c b/unix/uxmisc.c index 01e1299d..300fc543 100644 --- 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 / (1000000000 / TICKSPERSEC); } #endif {