summaryrefslogtreecommitdiff
path: root/src/user-awareness-event-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user-awareness-event-handler.c')
-rw-r--r--src/user-awareness-event-handler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/user-awareness-event-handler.c b/src/user-awareness-event-handler.c
index 3223f1d..1c0f3a5 100644
--- a/src/user-awareness-event-handler.c
+++ b/src/user-awareness-event-handler.c
@@ -91,7 +91,7 @@ static void __ua_event_handler(int event, uam_event_data_s *event_param,
sensor_info = event_param->data;
ret_if(NULL == sensor_info);
- UA_INFO("sensor: [%u], timestamp [%ld], accuracy [%d], value [%f]",
+ UA_INFO("sensor: [%u], timestamp [%llu], accuracy [%d], value [%f]",
sensor_info->sensor_bitmask, sensor_info->timestamp,
sensor_info->accuracy, sensor_info->values[0]);
_ua_monitor_handle_user_presence_detected(sensor_info, NULL,
@@ -105,7 +105,7 @@ static void __ua_event_handler(int event, uam_event_data_s *event_param,
sensor_info = event_param->data;
ret_if(NULL == sensor_info);
- UA_INFO("sensor: [%u], timestamp [%ld], accuracy [%d], value [%f]",
+ UA_INFO("sensor: [%u], timestamp [%llu], accuracy [%d], value [%f]",
sensor_info->sensor_bitmask, sensor_info->timestamp,
sensor_info->accuracy, sensor_info->values[0]);
_ua_monitor_handle_user_absence_detected(sensor_info, NULL, NULL);
@@ -118,7 +118,7 @@ static void __ua_event_handler(int event, uam_event_data_s *event_param,
sensor_info = event_param->data;
ret_if(NULL == sensor_info);
- UA_INFO("status [%d] sensor: [%u], timestamp [%ld], accuracy [%d], value [%f]",
+ UA_INFO("status [%d] sensor: [%u], timestamp [%llu], accuracy [%d], value [%f]",
sensor_info->status, sensor_info->sensor_bitmask, sensor_info->timestamp,
sensor_info->accuracy, sensor_info->values[0]);