Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Tue, 8 Jul 2008 18:09:27 +0000 (18:09 +0000)
committeradilger <adilger>
Tue, 8 Jul 2008 18:09:27 +0000 (18:09 +0000)
Quiet compiler warning from casting pointer to integer of different size.
b=15981

lustre/mdt/mdt_handler.c

index 8bc9c12..67918fe 100644 (file)
@@ -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);