diff options
author | infirit <[email protected]> | 2014-12-17 16:00:29 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-17 17:23:02 +0100 |
commit | ab23523d7ae2b62d7c633773739e7694a0ce82a2 (patch) | |
tree | 4f31cc4dac05ba7df2825225489f43364014de4b /src/load-graph.h | |
parent | ad556dbe146fd1a5e60bdbb3467748b5132b3a73 (diff) | |
download | mate-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.h | 2 |
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; |