blob: 72f04a15adb93b3868333a57c86e857858b2582c [file] [log] [blame]
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05001From 2f0ff65eaa93f18d9edb5d03329b00d8e5e73869 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= <lukas.maerdian@canonical.com>
3Date: Wed, 4 Aug 2021 15:55:00 +0200
4Subject: [PATCH] parse-nm: fix 32bit format string
5
6---
7 src/parse-nm.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/parse-nm.c b/src/parse-nm.c
11index 9b09e34..bf998b7 100644
12--- a/src/parse-nm.c
13+++ b/src/parse-nm.c
14@@ -136,7 +136,7 @@ static void
15 handle_bridge_uint(GKeyFile* kf, const gchar* key, NetplanNetDefinition* nd, char** dataptr) {
16 if (g_key_file_get_uint64(kf, "bridge", key, NULL)) {
17 nd->custom_bridging = TRUE;
18- *dataptr = g_strdup_printf("%lu", g_key_file_get_uint64(kf, "bridge", key, NULL));
19+ *dataptr = g_strdup_printf("%"G_GUINT64_FORMAT, g_key_file_get_uint64(kf, "bridge", key, NULL));
20 _kf_clear_key(kf, "bridge", key);
21 }
22 }
23--
242.25.1
25