Skip to content

Commit

Permalink
pcp/request: fix double warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Apr 20, 2022
1 parent cb9ab22 commit b19c50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pcp/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static void timeout(void *arg)
}

req->RT = RT_next(&req->conf, req->RT);
tmr_start(&req->tmr, req->RT * 1000, timeout, req);
tmr_start(&req->tmr, (uint64_t)req->RT * 1000, timeout, req);
}


Expand Down Expand Up @@ -238,7 +238,7 @@ static int start_sending(struct pcp_request *req)
return err;

req->RT = RT_init(&req->conf);
tmr_start(&req->tmr, req->RT * 1000, timeout, req);
tmr_start(&req->tmr, (uint64_t)req->RT * 1000, timeout, req);

if (req->conf.mrd) {
tmr_start(&req->tmr_dur, req->conf.mrd * 1000,
Expand Down

0 comments on commit b19c50e

Please sign in to comment.