Being 40 to 64 years of age is a risk factor for type 2 diabetes.