]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkctl: TABLE_BPS requires uint64_t
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Jul 2019 10:29:44 +0000 (19:29 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 30 Jul 2019 13:09:16 +0000 (15:09 +0200)
src/network/networkctl.c

index 03b916d4129a540f09164beb8dc29bb4b3cb7528..654955ba087f72020db3c6df9d1e85b8a86f5afa 100644 (file)
@@ -1275,7 +1275,7 @@ static int link_status_one(
                         r = table_add_many(table,
                                            TABLE_EMPTY,
                                            TABLE_STRING, "Speed:",
-                                           TABLE_BPS, info->speed);
+                                           TABLE_BPS, (uint64_t) info->speed);
                         if (r < 0)
                                 return r;
                 }