summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/t04-commit.c2
-rw-r--r--tests/t06-index.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/t04-commit.c b/tests/t04-commit.c
index 1140d3319..e92842435 100644
--- a/tests/t04-commit.c
+++ b/tests/t04-commit.c
@@ -366,7 +366,7 @@ BEGIN_TEST(details0, "query the details on a parsed commit")
const git_signature *author, *committer;
const char *message, *message_short;
- time_t commit_time;
+ git_time_t commit_time;
unsigned int parents, p;
git_commit *parent;
diff --git a/tests/t06-index.c b/tests/t06-index.c
index 19b4da5c2..93ca2c04e 100644
--- a/tests/t06-index.c
+++ b/tests/t06-index.c
@@ -34,7 +34,7 @@ struct test_entry {
unsigned int index;
char path[128];
git_off_t file_size;
- time_t mtime;
+ git_time_t mtime;
};
struct test_entry TEST_ENTRIES[] = {