summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-07-21 12:16:57 -0500
committerLuiz Souza <luiz@netgate.com>2017-07-21 12:16:57 -0500
commit0e61a752218f44371c42386551a759bed70a35ae (patch)
tree0a6f0d1297cfc2ca8b82676c740c818b5413a2da
parentbd874c4a13de7e3b4f11e0cd9554348c670cd2e8 (diff)
downloadFreeBSD-ports-0e61a752218f44371c42386551a759bed70a35ae.zip
FreeBSD-ports-0e61a752218f44371c42386551a759bed70a35ae.tar.gz
Cast the timestamp to long.
-rwxr-xr-xdevel/php56-pfSense-module/Makefile2
-rw-r--r--devel/php56-pfSense-module/files/pfSense.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/php56-pfSense-module/Makefile b/devel/php56-pfSense-module/Makefile
index 4302b0d..c1d00d2 100755
--- a/devel/php56-pfSense-module/Makefile
+++ b/devel/php56-pfSense-module/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pfSense
-PORTVERSION= 0.44
+PORTVERSION= 0.45
CATEGORIES= devel
MASTER_SITES= #
DISTFILES= #
diff --git a/devel/php56-pfSense-module/files/pfSense.c b/devel/php56-pfSense-module/files/pfSense.c
index 082fa49..67c9683 100644
--- a/devel/php56-pfSense-module/files/pfSense.c
+++ b/devel/php56-pfSense-module/files/pfSense.c
@@ -1390,7 +1390,7 @@ table_show_entry(zval *rarray, ipfw_xtable_info *i, ipfw_obj_tentry *tent)
table_show_value(rarray, &tent->v.value, i->vmask);
add_assoc_double(rarray, "bytes", (double)tent->bcnt);
add_assoc_double(rarray, "packets", (double)tent->pcnt);
- add_assoc_double(rarray, "timestamp", (double)tent->timestamp);
+ add_assoc_long(rarray, "timestamp", tent->timestamp);
}
static void
OpenPOWER on IntegriCloud