From 17c6c91404ac44e650afa8dc4ff5a98615800a02 Mon Sep 17 00:00:00 2001 From: chopins Date: Sun, 20 Sep 2020 21:16:19 +0800 Subject: [PATCH] update --- src/FFIExtend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FFIExtend.php b/src/FFIExtend.php index e2cc720..32cc825 100644 --- a/src/FFIExtend.php +++ b/src/FFIExtend.php @@ -459,7 +459,7 @@ public function isPtr($v) { } public function getIntValue($v) { - if($this->isIntPtr($v)) { + if($this->isPtr($v)) { return $v[0]; } elseif($this->isCData($v)) { return $v->cdata;