From 0e1814c6f68ab36ea0a525a1c71e6e2db91bd0e6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Jul 2012 17:54:39 +1000 Subject: s3-utils: Add cast to fix error found by -Werror=format Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Mon Jul 30 11:51:02 CEST 2012 on sn-devel-104 --- source3/utils/cclean.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/cclean.c b/source3/utils/cclean.c index 487c107e47..2084117343 100644 --- a/source3/utils/cclean.c +++ b/source3/utils/cclean.c @@ -44,8 +44,8 @@ struct cclean_ctx { static char *serverid_str(const struct server_id id) { - return talloc_asprintf(talloc_tos(), "pid %u, vnn %u, uid %lu", - (unsigned)id.pid, (unsigned)id.vnn, id.unique_id); + return talloc_asprintf(talloc_tos(), "pid %u, vnn %u, uid %llu", + (unsigned)id.pid, (unsigned)id.vnn, (unsigned long long)id.unique_id); } static void print_record(const char *msg, -- cgit