aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/l3gd20/l3gd20.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/l3gd20/l3gd20.cpp')
-rw-r--r--src/drivers/l3gd20/l3gd20.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/l3gd20/l3gd20.cpp b/src/drivers/l3gd20/l3gd20.cpp
index ad01338b9..4c41491a8 100644
--- a/src/drivers/l3gd20/l3gd20.cpp
+++ b/src/drivers/l3gd20/l3gd20.cpp
@@ -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 */