summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-03-20 18:36:25 +0100
committerVicent Marti <tanoku@gmail.com>2011-03-23 00:07:58 +0200
commit56d8ca266c92e51a1b38ac68b7aa6a24193f5812 (patch)
tree83e188bcb8d157cd10774ecaabe0a4a42561f5b6 /src/commit.c
parentfe1920206b7fb780486dcef14d0d6f01835b430d (diff)
downloadlibgit2-56d8ca266c92e51a1b38ac68b7aa6a24193f5812.tar.gz
Switch from time_t to git_time_t
git_time_t is defined as a signed 64 integer. This allows a true predictable multiplatform behavior.
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index d5d6ebd8..03b111da 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -315,7 +315,7 @@ GIT_COMMIT_GETTER(const git_signature *, author, commit->author)
GIT_COMMIT_GETTER(const git_signature *, committer, commit->committer)
GIT_COMMIT_GETTER(const char *, message, commit->message)
GIT_COMMIT_GETTER(const char *, message_short, commit->message_short)
-GIT_COMMIT_GETTER(time_t, time, commit->committer->when.time)
+GIT_COMMIT_GETTER(git_time_t, time, commit->committer->when.time)
GIT_COMMIT_GETTER(int, time_offset, commit->committer->when.offset)
GIT_COMMIT_GETTER(unsigned int, parentcount, commit->parent_oids.length)