From: adilger Date: Tue, 8 Jul 2008 18:09:27 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_50~245 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=d0f7bd644cd0eb374b0361d020d0126183ad9a9a Branch HEAD Quiet compiler warning from casting pointer to integer of different size. b=15981 --- 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);