diff --git a/lib/dns/dst_parse.c b/lib/dns/dst_parse.c index a9b3afb31e..ca43cb3d12 100644 --- a/lib/dns/dst_parse.c +++ b/lib/dns/dst_parse.c @@ -592,7 +592,7 @@ dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv, "Permissions on the file %s " "have changed from 0%o to 0600 as " "a result of this operation.", - filename, mode); + filename, (unsigned int)mode); } if ((fp = fopen(filename, "w")) == NULL)