s3-utils: Add cast to fix error found by -Werror=format
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jul 2012 07:54:39 +0000 (17:54 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jul 2012 09:51:02 +0000 (11:51 +0200)
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 11:51:02 CEST 2012 on sn-devel-104

source3/utils/cclean.c

index 487c107e472b43574102f578116a2d12acded299..20841173436049c7ee575e6867ea395e03e4c15b 100644 (file)
@@ -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,