From 78d12e5629e6f5a1b4907eb03d5eef4e7eab4b9a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 23 Dec 2010 12:55:09 +0100 Subject: s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer literal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To quiet a warning on Solaris Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 on sn-devel-104 --- source4/torture/ndr/spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') 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"); -- cgit