diff options
| author | Brodie Rao <brodie@bitheap.org> | 2011-10-14 14:18:02 -0700 |
|---|---|---|
| committer | Brodie Rao <brodie@bitheap.org> | 2011-10-14 15:57:15 -0700 |
| commit | 33127043b3ef8dd8dd695ba3613eaa104a80a56b (patch) | |
| tree | f17a6d405a42594e7c4a596ccd4adf684e13b413 /tests/t10-refs.c | |
| parent | 1776f5ab495a5748e28685da1f6da1c298cb0273 (diff) | |
| download | libgit2-33127043b3ef8dd8dd695ba3613eaa104a80a56b.tar.gz | |
fileops/posix: replace usage of "int mode" with "mode_t mode"
Note: Functions exported from fileops take const mode_t, while the
underlying POSIX wrappers take mode_t.
Diffstat (limited to 'tests/t10-refs.c')
| -rw-r--r-- | tests/t10-refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t10-refs.c b/tests/t10-refs.c index c7bfe4eea..aa6735a30 100644 --- a/tests/t10-refs.c +++ b/tests/t10-refs.c @@ -431,7 +431,7 @@ END_TEST BEGIN_TEST(pack0, "create a packfile for an empty folder") git_repository *repo; char temp_path[GIT_PATH_MAX]; - const int mode = 0755; /* or 0777 ? */ + const mode_t mode = 0755; /* or 0777 ? */ must_pass(open_temp_repo(&repo, REPOSITORY_FOLDER)); |
