From d0f7bd644cd0eb374b0361d020d0126183ad9a9a Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 8 Jul 2008 18:09:27 +0000 Subject: [PATCH] Branch HEAD Quiet compiler warning from casting pointer to integer of different size. b=15981 --- lustre/mdt/mdt_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 8bc9c12..67918fe 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -4584,7 +4584,7 @@ static int mdt_obd_notify(struct obd_device *host, switch (ev) { case OBD_NOTIFY_CONFIG: - mdt_allow_cli(mdt_dev(host->obd_lu_dev), (unsigned int)data); + mdt_allow_cli(mdt_dev(host->obd_lu_dev), (unsigned long)data); break; default: CDEBUG(D_INFO, "Unhandled notification %#x\n", ev); -- 1.8.3.1