diff options
Diffstat (limited to 'libsensors/akm8975.c')
-rw-r--r-- | libsensors/akm8975.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/akm8975.c b/libsensors/akm8975.c index 8de0215..ca85518 100644 --- a/libsensors/akm8975.c +++ b/libsensors/akm8975.c @@ -168,7 +168,7 @@ void *akm8975_thread(void *thread_data) char i2c_data[SENSOR_DATA_SIZE] = { 0 }; short magnetic_data[3]; short mode; - long int before, after; + long long int before, after; int diff; int device_fd; int uinput_fd; |