From f83f0cb0605368387358782179460ca4d75a9541 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 28 Nov 2003 09:05:44 +0000 Subject: fixed some warnings (This used to be commit 1c2b8a93c50e3d5485732a2f06847166e883f939) --- source4/client/client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/client/client.c') diff --git a/source4/client/client.c b/source4/client/client.c index c46c8d8133..7cf3a0b125 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -1686,7 +1686,8 @@ static int cmd_allinfo(void) finfo.generic.level = RAW_FILEINFO_INTERNAL_INFORMATION; status = smb_raw_pathinfo(cli->tree, mem_ctx, &finfo); if (NT_STATUS_IS_OK(status)) { - d_printf("\tfile_id %.0f\n", finfo.internal_information.out.file_id); + d_printf("\tfile_id %.0f\n", + (double)finfo.internal_information.out.file_id); } /* the EAs, if any */ @@ -2447,7 +2448,7 @@ static char **remote_completion(const char *text, int len) { pstring dirmask; int i; - completion_remote_t info = { "", NULL, 1, NULL, NULL, NULL }; + completion_remote_t info = { "", NULL, 1, 0, NULL, 0 }; info.samelen = len; info.text = text; -- cgit