summaryrefslogtreecommitdiff
path: root/src/load-graph.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-17 16:00:29 +0100
committerinfirit <[email protected]>2014-12-17 17:23:02 +0100
commitab23523d7ae2b62d7c633773739e7694a0ce82a2 (patch)
tree4f31cc4dac05ba7df2825225489f43364014de4b /src/load-graph.h
parentad556dbe146fd1a5e60bdbb3467748b5132b3a73 (diff)
downloadmate-system-monitor-ab23523d7ae2b62d7c633773739e7694a0ce82a2.tar.bz2
mate-system-monitor-ab23523d7ae2b62d7c633773739e7694a0ce82a2.tar.xz
Fix network totals overflow on 32-bit machines
Taken from GSM commit: c7275791a89623ad1edc820a6ef16faae37a18aa From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=639212
Diffstat (limited to 'src/load-graph.h')
-rw-r--r--src/load-graph.h2
1 files changed, 1 insertions, 1 deletions
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;