From 0dee04e5b88d941bb727ffdc80d50966ca48d9f6 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 22 Feb 2021 18:35:36 +0100 Subject: testasyncgetprop: Mismatching the argument type 'unsigned long' and conversion specifier 'ld', reported by Apache NetBeans IDE --- src/core/testasyncgetprop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/testasyncgetprop.c b/src/core/testasyncgetprop.c index f1d3a65c..2c1436fb 100644 --- a/src/core/testasyncgetprop.c +++ b/src/core/testasyncgetprop.c @@ -193,7 +193,7 @@ try_get_reply (Display *xdisplay, gettimeofday (¤t_time, NULL); - printf (" %gms (we have a reply for property %ld)\n", + printf (" %gms (we have a reply for property %lu)\n", ELAPSED (program_start_time, current_time), ag_task_get_property (task)); @@ -295,7 +295,7 @@ main (int argc, char **argv) while (i < n_props) { gettimeofday (¤t_time, NULL); - printf (" %gms (sending request for property %ld)\n", + printf (" %gms (sending request for property %lu)\n", ELAPSED (program_start_time, current_time), props[i]); if (ag_task_create (xdisplay, -- cgit v1.2.1