]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master] Fixed compiler warning under 32-bit systems
authorThomas Markwalder <tmark@isc.org>
Thu, 21 Dec 2017 20:26:23 +0000 (15:26 -0500)
committerThomas Markwalder <tmark@isc.org>
Thu, 21 Dec 2017 20:26:23 +0000 (15:26 -0500)
server/dhcpv6.c

index 6cdee72cf46bb98135f06da44b3d3a77cedc7c4d..f4bdbf81ff52a048c546c85496bcdaccceb54290 100644 (file)
@@ -3336,7 +3336,7 @@ void shorten_lifetimes(struct reply_state *reply, struct iasubopt *lease,
                                   " preferred: %u, valid %u",
                                   pin6_addr(&lease->addr),
                                   iasubopt_plen_str(lease),
-                                  age, threshold,
+                                  (long)age, threshold,
                                   pref_life, valid_life);
                        break;
                }