Skip to content

Commit 9a33238

Browse files
committed
Adding missing &
1 parent 20b6bef commit 9a33238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

status.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ PHP_FUNCTION(git_status_file)
152152
}
153153

154154
ZEND_FETCH_RESOURCE(_repo, php_git2_t*, &repo, -1, PHP_GIT2_RESOURCE_NAME, git2_resource_handle);
155-
result = git_status_file(status_flags, PHP_GIT2_V(_repo, repository), path);
155+
result = git_status_file(&status_flags, PHP_GIT2_V(_repo, repository), path);
156156
RETURN_LONG(result);
157157
}
158158
/* }}} */
@@ -280,4 +280,4 @@ PHP_FUNCTION(git_status_options_new)
280280

281281
php_git2_git_status_options_to_array(&options, &result TSRMLS_CC);
282282
RETURN_ZVAL(result, 0, 1);
283-
}
283+
}

0 commit comments

Comments
 (0)