Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37570654
en ru br
ALT Linux repos
S:0.106-alt1

Group :: System/Configuration/Networking
RPM: netplan

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-use-proper-print-format.patch
Download


diff --git a/src/parse-nm.c b/src/parse-nm.c
index 9b09e34..6e042bf 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);
     }
 }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin