From 58715dd3652ba53fa85cb5457be5d8c607b3d798 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 20 Jun 2010 20:34:48 +0200 Subject: s4:libpolicy - fix printf output specifiers to suppress warning --- source4/lib/policy/gp_filesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/policy') diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c index 51bdbfd2d6..b932ee5bff 100644 --- a/source4/lib/policy/gp_filesys.c +++ b/source4/lib/policy/gp_filesys.c @@ -254,7 +254,7 @@ static NTSTATUS gp_get_file (struct smbcli_tree *tree, const char *remote_src, /* Bytes read should match the file size, or the copy was incomplete */ if (nread != file_size) { DEBUG(0, ("Remote/local file size mismatch after copying file: " - "%s (remote %ld, local %ld).\n", + "%s (remote %zu, local %zu).\n", remote_src, file_size, nread)); talloc_free(buf); return NT_STATUS_UNSUCCESSFUL; -- cgit