summaryrefslogtreecommitdiff
path: root/src/tc-time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tc-time.c')
-rw-r--r--src/tc-time.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/tc-time.c b/src/tc-time.c
index e86ed67..5097cde 100644
--- a/src/tc-time.c
+++ b/src/tc-time.c
@@ -1,10 +1,4 @@
-/*
- * Copyright Jan Engelhardt, 2012
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the WTF Public License version 2 or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: MIT
#include <assert.h>
#include <math.h>
#include <stdio.h>
@@ -27,7 +21,7 @@ static const int NANOSECOND = 1000000000;
static const long long NANOSECOND_LL = 1000000000;
static const unsigned int clock_id = CLOCK_THREAD_CPUTIME_ID;
static const unsigned int step = 1000;
-static const unsigned int step_mul = 10000000;
+static const long step_mul = 10000000;
static const struct timespec pairs[] = {
{-1, 700000000}, {-1, 400000000}, {-1, 0},