freebsd-ports/sysutils/rmonitor/files/patch-src__rmonitor.c
Ion-Mihai Tetcu c4c9376026 - Fix integer overflow on 64bit platforms
- bump PORTREVISION

PR:		131741
Submitted by:	maintainer
2009-02-20 15:06:15 +00:00

11 lines
303 B
C

--- ./src/rmonitor.c.orig 2001-07-20 18:31:10.000000000 +0300
+++ ./src/rmonitor.c 2009-02-20 11:24:12.000000000 +0200
@@ -294,7 +294,7 @@
#define samples 2
double lavg[samples];
int dbufs = 0;
- int len;
+ long len;
int maxf = -1;
int maxp = -1;
int memfre = 0;