Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chopins committed Sep 20, 2020
1 parent 5427297 commit 17c6c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFIExtend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 17c6c91

Please sign in to comment.