]> granicus.if.org Git - vnstat/commit
fix clang -Wfloat-conversion
authorChristian Göttsche <cgzones@googlemail.com>
Thu, 1 Mar 2018 15:41:40 +0000 (16:41 +0100)
committerChristian Göttsche <cgzones@googlemail.com>
Sun, 4 Mar 2018 12:58:16 +0000 (13:58 +0100)
commit8972a0a0ef7d70414fca1fa56523257ed52ad69e
tree328dca440b06b1148eee0955d75f2e72a677e658
parent4c691d422e72cf4c4a64a6b1208c5c61f37de205
fix clang -Wfloat-conversion

src/ifinfo.c:358:18: error: implicit conversion turns floating-point number into integer: 'float' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wfloat-conversion]
                        maxtransfer = ceilf((maxbw/8.0f)*interval*1.1f);
src/ifinfo.c