summaryrefslogtreecommitdiff
path: root/tests/unit/unit1399.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1399.c')
-rw-r--r--tests/unit/unit1399.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1399.c b/tests/unit/unit1399.c
index 7383fbd86..170e5b759 100644
--- a/tests/unit/unit1399.c
+++ b/tests/unit/unit1399.c
@@ -50,7 +50,7 @@ static void fake_t_startsingle_time(struct Curl_easy *data,
data->progress.t_startsingle.tv_usec = fake_now.tv_usec;
}
-static bool usec_matches_seconds(time_t time_usec, int expected_seconds)
+static bool usec_matches_seconds(timediff_t time_usec, int expected_seconds)
{
int time_sec = (int)(time_usec / usec_magnitude);
bool same = (time_sec == expected_seconds);