]> git.meshlink.io Git - meshlink/blobdiff - src/top.c
Fix display of cumulative packet counters.
[meshlink] / src / top.c
index 8cd82be320db94ec62b111bcf13777ccfd766afc..28ab56f486fe7d71c2b86e6130ef395bfa13dc2b 100644 (file)
--- a/src/top.c
+++ b/src/top.c
@@ -229,7 +229,7 @@ static void redraw(void) {
                        attrset(A_DIM);
 
                if(cumulative)
-                       mvprintw(row, 0, "%-16s %10"PRIu64" %10.0f %10"PRIu64" %10.0f",
+                       mvprintw(row, 0, "%-16s %10.0f %10.0f %10.0f %10.0f",
                                        node->name, node->in_packets * pscale, node->in_bytes * bscale, node->out_packets * pscale, node->out_bytes * bscale);
                else
                        mvprintw(row, 0, "%-16s %10.0f %10.0f %10.0f %10.0f",