summaryrefslogtreecommitdiff
path: root/src/tc-time.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-01-29 16:17:51 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-01-29 16:17:51 +0100
commitbfef0924f58eab930bdd826ac0132786abc32220 (patch)
treec37bbc77063f3477236ce4cb7d765794f2018555 /src/tc-time.c
parent8132c809273676b684f426ae8c0f8b1e6f40166e (diff)
New upstream version 4.10upstream/4.10
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},