summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-30 17:54:39 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-30 11:51:02 +0200
commit0e1814c6f68ab36ea0a525a1c71e6e2db91bd0e6 (patch)
tree9c7d641fa28b6810db6302945e9a25c02aeafeb9
parent3aa6f085c22ce33ead23f7ebb604be5525759eee (diff)
downloadsamba-0e1814c6f68ab36ea0a525a1c71e6e2db91bd0e6.tar.gz
samba-0e1814c6f68ab36ea0a525a1c71e6e2db91bd0e6.tar.bz2
samba-0e1814c6f68ab36ea0a525a1c71e6e2db91bd0e6.zip
s3-utils: Add cast to fix error found by -Werror=format
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 30 11:51:02 CEST 2012 on sn-devel-104
-rw-r--r--source3/utils/cclean.c4
1 files changed, 2 insertions, 2 deletions
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,