andler *’
415 | __u64 user_data)
| ~~^
cc1: all warnings being treated as errors
So convert the paramter to right type according to the io_uring define.
Signed-off-by: Haiyue Wang
---
util/fdmon-io_uring.c | 4
1 file changed, 4 insertions(+)
diff --g
andler *’
415 | __u64 user_data)
| ~~^
cc1: all warnings being treated as errors
Use LIBURING_HAVE_DATA64 to check whether the io_uring supports 64-bit
variants of the get/set userdata, to convert the paramter to the right
data type.
Signed-off-by: Haiyue Wang
;datetime != NULL' failed
Call 'g_date_time_new_now' with UTC time zone, it has the same result as
'g_date_time_new_from_unix_utc(g_get_real_time()/1e6)';
Fixes: 73dab893b569 ("error-report: replace deprecated g_get_current_time()
with glib >= 2.62")
Signed-off-b
;datetime != NULL' failed
Call function 'g_date_time_new_now_utc' instead, it has the same result
as 'g_date_time_new_from_unix_utc(g_get_real_time() / G_USEC_PER_SEC)';
Fixes: 73dab893b569 ("error-report: replace deprecated g_get_current_time()
with