summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-26 00:52:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-26 00:52:01 +0000
commit31cb8b315caa3ceff9a3c39d3e4beb4cc2ff3e3f (patch)
tree638f60608b4e4ca6ba65a33b479f5c8f38b3a2f7 /usr/local
parent3ea05ff4dbd8a7e85bfd59a440dcc2c5075df276 (diff)
downloadpfsense-31cb8b315caa3ceff9a3c39d3e4beb4cc2ff3e3f.zip
pfsense-31cb8b315caa3ceff9a3c39d3e4beb4cc2ff3e3f.tar.gz
Use (double)
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/ifstats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/ifstats.php b/usr/local/www/ifstats.php
index 0ba6e27..6a232f2 100644
--- a/usr/local/www/ifstats.php
+++ b/usr/local/www/ifstats.php
@@ -72,7 +72,7 @@
}
$temp = gettimeofday();
- $timing = $temp["sec"] + $temp["usec"] / 1000000.0;
+ $timing = (double)$temp["sec"] + (double)$temp["usec"] / 1000000.0;
echo "$timing|" . $ifinfo['inbytes'] . "|" . $ifinfo['outpkts'] . "\n";
OpenPOWER on IntegriCloud