summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-23 12:55:09 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-23 13:43:57 +0100
commit78d12e5629e6f5a1b4907eb03d5eef4e7eab4b9a (patch)
tree4e0a6304f097204849f485aaf54959215394d92d
parentda78e24ca201dcdac8a498a5d0da8c30154d4d9a (diff)
downloadsamba-78d12e5629e6f5a1b4907eb03d5eef4e7eab4b9a.tar.gz
samba-78d12e5629e6f5a1b4907eb03d5eef4e7eab4b9a.tar.bz2
samba-78d12e5629e6f5a1b4907eb03d5eef4e7eab4b9a.zip
s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer literal
To quiet a warning on Solaris Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 on sn-devel-104
-rw-r--r--source4/torture/ndr/spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ndr/spoolss.c b/source4/torture/ndr/spoolss.c
index d028c90b1f..2c525d9385 100644
--- a/source4/torture/ndr/spoolss.c
+++ b/source4/torture/ndr/spoolss.c
@@ -688,7 +688,7 @@ static bool getprinterdriver2_out_check(struct torture_context *tctx,
torture_assert(tctx, r->out.info->info6.default_datatype == NULL, "default_datatype");
torture_assert(tctx, r->out.info->info6.previous_names == NULL, "previous_names");
/* driver_date : Wed Jun 21 02:00:00 2006 CEST */
- torture_assert_u64_equal(tctx, r->out.info->info6.driver_version, 0x000600011db04001, "driver_version");
+ torture_assert_u64_equal(tctx, r->out.info->info6.driver_version, 0x000600011db04001ULL, "driver_version");
torture_assert_str_equal(tctx, r->out.info->info6.manufacturer_name, "Ricoh", "manufacturer_name");
torture_assert_str_equal(tctx, r->out.info->info6.manufacturer_url, "http://go.microsoft.com/fwlink/?LinkID=47&prd=10798&sbp=Printers", "manufacturer_url");
torture_assert_str_equal(tctx, r->out.info->info6.hardware_id, "ricohricoh_aficio_mp5063", "hardware_id");