From ab23523d7ae2b62d7c633773739e7694a0ce82a2 Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 17 Dec 2014 16:00:29 +0100 Subject: Fix network totals overflow on 32-bit machines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Taken from GSM commit: c7275791a89623ad1edc820a6ef16faae37a18aa From: Chris Kühl Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=639212 --- src/load-graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/load-graph.h') diff --git a/src/load-graph.h b/src/load-graph.h index 8a99bd4..5164a4c 100644 --- a/src/load-graph.h +++ b/src/load-graph.h @@ -91,7 +91,7 @@ struct LoadGraph { struct { guint64 last_in, last_out; GTimeVal time; - unsigned int max; + guint64 max; unsigned values[NUM_POINTS]; size_t cur; } net; -- cgit v1.2.1