diff options
author | Jeremy Allison <jra@samba.org> | 2009-05-11 21:56:57 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-05-11 21:56:57 -0700 |
commit | b4c9cfb2af8f4dd5e18f032c410694e491f1bd74 (patch) | |
tree | c4cfaa30ad841a7b425ecd903edf2f0fc304f833 /source3/rpcclient | |
parent | 14c1e9fae2a34d77b0ba21ffb570e84b6e433a14 (diff) | |
download | samba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.tar.gz samba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.tar.bz2 samba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.zip |
Fix a bunch of compiler warnings about wrong format types.
Should make Solaris 10 builds look cleaner.
Jeremy.
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 124913edb2..5ea812c1f5 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -1107,7 +1107,7 @@ static void display_print_driver6(struct spoolss_DriverInfo6 *r) } printf("\tDriver Date: [%s]\n", nt_time_string(talloc_tos(), r->driver_date)); - printf("\tDriver Version: [0x%016llx]\n", r->driver_version); + printf("\tDriver Version: [0x%016llx]\n", (long long unsigned int)r->driver_version); printf("\tManufacturer Name: [%s]\n", r->manufacturer_name); printf("\tManufacturer Url: [%s]\n", r->manufacturer_url); printf("\tHardware ID: [%s]\n", r->hardware_id); @@ -1147,7 +1147,7 @@ static void display_print_driver8(struct spoolss_DriverInfo8 *r) } printf("\tDriver Date: [%s]\n", nt_time_string(talloc_tos(), r->driver_date)); - printf("\tDriver Version: [0x%016llx]\n", r->driver_version); + printf("\tDriver Version: [0x%016llx]\n", (long long unsigned int)r->driver_version); printf("\tManufacturer Name: [%s]\n", r->manufacturer_name); printf("\tManufacturer Url: [%s]\n", r->manufacturer_url); printf("\tHardware ID: [%s]\n", r->hardware_id); @@ -1163,7 +1163,8 @@ static void display_print_driver8(struct spoolss_DriverInfo8 *r) printf("\tCore Driver Dependencies: [%s]\n", r->core_driver_dependencies[i]); } printf("\tMin Driver Inbox Driver Version Date: [%s]\n", nt_time_string(talloc_tos(), r->min_inbox_driver_ver_date)); - printf("\tMin Driver Inbox Driver Version Version: [0x%016llx]\n", r->min_inbox_driver_ver_version); + printf("\tMin Driver Inbox Driver Version Version: [0x%016llx]\n", + (long long unsigned int)r->min_inbox_driver_ver_version); printf("\n"); } |