Skip to content

Commit

Permalink
use int64_t for time-related variables
Browse files Browse the repository at this point in the history
  • Loading branch information
schweikert committed Aug 5, 2020
1 parent 2dbe46f commit 4f16eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fping.c
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ void add_range(char* start, char* end)

void main_loop()
{
long lt;
int64_t lt;
int64_t wait_time_ns;
struct event *event;
struct host_entry *h;
Expand Down Expand Up @@ -2237,7 +2237,7 @@ int wait_for_reply(int64_t wait_time)
struct sockaddr_storage response_addr;
int n, avg;
HOST_ENTRY* h;
long this_reply;
int64_t this_reply;
int this_count;
int64_t recv_time=0;
SEQMAP_VALUE* seqmap_value;
Expand Down

0 comments on commit 4f16eea

Please sign in to comment.