]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Fix timer signedness
authorSteven Barth <steven@midlink.org>
Sun, 3 Feb 2013 17:25:31 +0000 (18:25 +0100)
committerSteven Barth <steven@midlink.org>
Sun, 3 Feb 2013 17:25:31 +0000 (18:25 +0100)
src/dhcpv6.c

index 561cf836778e1f62cfb5c05584774f97d33e60ca..0ca86c9b98ce795624cf22edccee00d43687f9ff 100644 (file)
@@ -76,7 +76,7 @@ static struct dhcpv6_retx dhcpv6_retx[_DHCPV6_MSG_MAX] = {
 // Sockets
 static int sock = -1;
 static int ifindex = -1;
-static time_t t1 = 0, t2 = 0, t3 = 0;
+static int64_t t1 = 0, t2 = 0, t3 = 0;
 
 // IA states
 static int request_prefix = -1;