summaryrefslogtreecommitdiffstats
path: root/phk-pr3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'phk-pr3.patch')
-rw-r--r--phk-pr3.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/phk-pr3.patch b/phk-pr3.patch
deleted file mode 100644
index 088d6eb..0000000
--- a/phk-pr3.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 7d4794ab5b5097ea3b92bd432d64663488c2e66e Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Thu, 28 May 2015 19:07:10 +0200
-Subject: [PATCH] fix zend_parse_parameters call
-
----
- PHK_Cache.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/PHK_Cache.c b/PHK_Cache.c
-index 69354d3..c975e76 100644
---- a/PHK_Cache.c
-+++ b/PHK_Cache.c
-@@ -141,9 +141,12 @@ static PHP_METHOD(PHK_Cache, cacheID)
-
- static PHP_METHOD(PHK_Cache, setCacheMaxSize)
- {
-- if (zend_parse_parameters(ZEND_NUM_ARGS()TSRMLS_CC, "l", &cache_maxsize)
-+ long tmp;
-+
-+ if (zend_parse_parameters(ZEND_NUM_ARGS()TSRMLS_CC, "l", &tmp)
- == FAILURE)
- EXCEPTION_ABORT("Cannot parse parameters");
-+ cache_maxsize = (int)tmp;
- }
-
- /* }}} */