diff options
author | Lukas Märdian <slyon@ubuntu.com> | 2021-08-04 15:15:45 +0200 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2021-10-21 11:19:25 +0200 |
commit | 9f7ff2da2b0d412ed9fcbc1c7f45d2bd3423852c (patch) | |
tree | 225461ffb7f0c8dacd9960b18d107b1de021da8a | |
parent | 92a48b57354cca052ed7d7e0d0958709b4ea164b (diff) |
parse-nm: fix 32bit format string
Gbp-Pq: Name 0001-parse-nm-fix-32bit-format-string.patch
-rw-r--r-- | src/parse-nm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |