diff options
Diffstat (limited to 'libsensors/input.c')
-rw-r--r-- | libsensors/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsensors/input.c b/libsensors/input.c index cdd82c9..d78dc64 100644 --- a/libsensors/input.c +++ b/libsensors/input.c @@ -44,7 +44,7 @@ void input_event_set(struct input_event *event, int type, int code, int value) gettimeofday(&event->time, NULL); } -long int timestamp(struct timeval *time) +long long int timestamp(struct timeval *time) { if (time == NULL) return -1; @@ -52,7 +52,7 @@ long int timestamp(struct timeval *time) return time->tv_sec * 1000000000LL + time->tv_usec * 1000; } -long int input_timestamp(struct input_event *event) +long long int input_timestamp(struct input_event *event) { if (event == NULL) return -1; |