mdssvc: Fix the clang build
authorVolker Lendecke <vl@samba.org>
Fri, 9 Aug 2019 06:02:41 +0000 (08:02 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 9 Aug 2019 07:34:04 +0000 (07:34 +0000)
clang complains about "%lu" not to match size_t on 32-bit FreeBSD

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Aug  9 07:34:05 UTC 2019 on sn-devel-184

source3/rpc_server/mdssvc/dalloc.c

index 23193fee70a3ac04dc18108794c40c126c10c5a7..2e13203c4c6e1b6d051799b33b5e4120e35fa930 100644 (file)
@@ -275,7 +275,7 @@ char *dalloc_dump(DALLOC_CTX *dd, int nestinglevel)
        }
 
        logstring = talloc_asprintf(dd,
-                                   "%s%s(#%lu): {\n",
+                                   "%s%s(#%zu): {\n",
                                    tab_string1,
                                    talloc_get_name(dd),
                                    dalloc_size(dd));