From 2f0ff65eaa93f18d9edb5d03329b00d8e5e73869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= Date: Wed, 4 Aug 2021 15:55:00 +0200 Subject: [PATCH] parse-nm: fix 32bit format string --- src/parse-nm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse-nm.c b/src/parse-nm.c index 9b09e34..bf998b7 100644 --- a/src/parse-nm.c +++ b/src/parse-nm.c @@ -136,7 +136,7 @@ static void handle_bridge_uint(GKeyFile* kf, const gchar* key, NetplanNetDefinition* nd, char** dataptr) { if (g_key_file_get_uint64(kf, "bridge", key, NULL)) { nd->custom_bridging = TRUE; - *dataptr = g_strdup_printf("%lu", g_key_file_get_uint64(kf, "bridge", key, NULL)); + *dataptr = g_strdup_printf("%"G_GUINT64_FORMAT, g_key_file_get_uint64(kf, "bridge", key, NULL)); _kf_clear_key(kf, "bridge", key); } } -- 2.25.1