diff --git a/lustre/quota/quota_ctl.c b/lustre/quota/quota_ctl.c
index 3bd569bec937997ebe2a3dce348e41dc87354ffa..8ab7c0eeba7ff6efb7340d96a212b157d1cdf122 100644
--- a/lustre/quota/quota_ctl.c
+++ b/lustre/quota/quota_ctl.c
@@ -251,7 +251,7 @@ int lov_quota_ctl(struct obd_export *exp, struct obd_quotactl *oqctl)
         struct obd_device *obd = class_exp2obd(exp);
         struct lov_obd *lov = &obd->u.lov;
         __u64 curspace = 0;
-        __u32 bhardlimit = 0;
+        __u64 bhardlimit = 0;
         int i, rc = 0;
         ENTRY;
 
diff --git a/lustre/quota/quota_master.c b/lustre/quota/quota_master.c
index 42b20a27adf89dfbb4c2508b2bb965fecbe4945c..3d00db505441c2c5f36f19204e966885e30bee65 100644
--- a/lustre/quota/quota_master.c
+++ b/lustre/quota/quota_master.c
@@ -314,7 +314,7 @@ int dqacq_handler(struct obd_device *obd, struct qunit_data *qdata, int opc)
         struct lustre_quota_info *info = &mds->mds_quota_info;
         struct lustre_dquot *dquot = NULL;
         __u64 *usage = NULL;
-        __u32 hlimit = 0, slimit = 0;
+        __u64 hlimit = 0, slimit = 0;
         time_t *time = NULL;
         unsigned int grace = 0;
         struct lustre_qunit_size *lqs = NULL;