From 1495117889151cc0afca31ffc020c80931f68e16 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 24 Jul 2012 12:58:04 +1000 Subject: [PATCH] cast mode to unsigned int for fprintf --- lib/dns/dst_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)