L3GD20: Return argument in correct format

This commit is contained in:
Lorenz Meier
2015-02-15 10:17:01 +01:00
parent 3bb0008af5
commit 56bc843011
+1 -1
View File
@@ -667,7 +667,7 @@ L3GD20::ioctl(struct file *filp, int cmd, unsigned long arg)
}
case GYROIOCGLOWPASS:
return _gyro_filter_x.get_cutoff_freq();
return static_cast<int>(_gyro_filter_x.get_cutoff_freq());
case GYROIOCSSCALE:
/* copy scale in */