X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsubnet_parse.c;h=d5b84eb647f6fa710e4f3eeb9ab2ced28ded7ae2;hb=1cf2b56fcc57073d952928da2338bdaff2cb7889;hp=88513f68a6bc88331ecfd42c358869e908b79c00;hpb=ca989c0c8b19901cbd7664a9d2b42aa85c9c176e;p=tinc diff --git a/src/subnet_parse.c b/src/subnet_parse.c index 88513f68..d5b84eb6 100644 --- a/src/subnet_parse.c +++ b/src/subnet_parse.c @@ -371,7 +371,7 @@ bool str2net(subnet_t *subnet, const char *subnetstr) { bool net2str(char *netstr, int len, const subnet_t *subnet) { if(!netstr || !subnet) { - logger(DEBUG_ALWAYS, LOG_ERR, "net2str() was called with netstr=%p, subnet=%p!", netstr, subnet); + logger(DEBUG_ALWAYS, LOG_ERR, "net2str() was called with netstr=%p, subnet=%p!", (void *)netstr, (void *)subnet); return false; }