diff options
author | Lukas Märdian <slyon@ubuntu.com> | 2021-08-04 15:15:45 +0200 |
---|---|---|
committer | Lukas Märdian <luk@slyon.de> | 2022-03-03 09:49:45 +0100 |
commit | 298af15cdbb0dfa5361e46f062766cb5ed3ef0e0 (patch) | |
tree | 11f5c316ec30ddf1010f966f20e741551e3293b1 | |
parent | a4d52186d6a482725a47da4d63669ef7da96ab8f (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); } } |