From 4875817f19d035694e234dd26448d43d92422468 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Fri, 17 Sep 2021 11:14:31 +0200 Subject: [PATCH] Tests: fix -Wformat compiler warning Use G_GUINT64_FORMAT to properly format a guint64 type. --- test/lsudev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lsudev.c b/test/lsudev.c index fb53c1e1..4579fd23 100644 --- a/test/lsudev.c +++ b/test/lsudev.c @@ -90,7 +90,7 @@ dump_device_and_parent (GUdevDevice *device, guint indent) println (indent, "Path: %s", g_udev_device_get_sysfs_path (device)); println (indent, "Driver: %s", g_udev_device_get_driver (device)); println (indent, "Action: %s", g_udev_device_get_action (device)); - println (indent, "Seq Num: %lu", g_udev_device_get_seqnum (device)); + println (indent, "Seq Num: %" G_GUINT64_FORMAT, g_udev_device_get_seqnum (device)); println (indent, "Dev File: %s", g_udev_device_get_device_file (device)); println (indent, "-----------"); println (indent, "Properties:");