From c7be7570359e457c732d1e2c2eafff9e13117484 Mon Sep 17 00:00:00 2001 From: luis Date: Tue, 22 Jun 2010 17:47:32 +0000 Subject: [PATCH] Fixed small format specifier error that caused a compiler warning --- TargetGroup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TargetGroup.cc b/TargetGroup.cc index f2cc04574..177c2af98 100644 --- a/TargetGroup.cc +++ b/TargetGroup.cc @@ -229,7 +229,7 @@ int TargetGroup::parse_expr(const char * const target_expr, int af) { } if (resolvedaddrs.size() > 1 && o.verbose > 1) - error("Warning: Hostname %s resolves to %d IPs. Using %s.", target_net, resolvedaddrs.size(), inet_ntop_ez(&ss, sslen)); + error("Warning: Hostname %s resolves to %lu IPs. Using %s.", target_net, (unsigned long)resolvedaddrs.size(), inet_ntop_ez(&ss, sslen)); if (netmask) { struct sockaddr_in *sin = (struct sockaddr_in *) &ss;