summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_lsarpc.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-30 17:32:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:02 -0500
commitbb5c820542c4042e4a14e5a50969d7aa5279db6c (patch)
tree97ad2479102aa2a17f77ac91a1a2d5b7a9c44c82 /source3/rpcclient/cmd_lsarpc.c
parent69287da6339dcd7e08a77eb185dfa7b5ab09a374 (diff)
downloadsamba-bb5c820542c4042e4a14e5a50969d7aa5279db6c.tar.gz
samba-bb5c820542c4042e4a14e5a50969d7aa5279db6c.tar.bz2
samba-bb5c820542c4042e4a14e5a50969d7aa5279db6c.zip
r19013: Fix some 64-bit warnings.
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is being used uninitialized which I don't really know how to fix. Any hints? Volker (This used to be commit 4a5d11e194ebdfb6c21586d1cf902f8ed2478e45)
Diffstat (limited to 'source3/rpcclient/cmd_lsarpc.c')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index e94b4bc7a6..96642ed65b 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -63,9 +63,9 @@ static void display_query_info_1(DOM_QUERY_1 d)
{
d_printf("percent_full:\t%d\n", d.percent_full);
d_printf("log_size:\t%d\n", d.log_size);
- d_printf("retention_time:\t%lld\n", d.retention_time);
+ d_printf("retention_time:\t%lld\n", (long long)d.retention_time);
d_printf("shutdown_in_progress:\t%d\n", d.shutdown_in_progress);
- d_printf("time_to_shutdown:\t%lld\n", d.time_to_shutdown);
+ d_printf("time_to_shutdown:\t%lld\n", (long long)d.time_to_shutdown);
d_printf("next_audit_record:\t%d\n", d.next_audit_record);
d_printf("unknown:\t%d\n", d.unknown);
}