summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
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 /include/git2/commit.h
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 'include/git2/commit.h')
-rw-r--r--include/git2/commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/commit.h b/include/git2/commit.h
index ba18a5b39..8306eb152 100644
--- a/include/git2/commit.h
+++ b/include/git2/commit.h
@@ -83,7 +83,7 @@ GIT_EXTERN(const char *) git_commit_message(git_commit *commit);
* @param commit a previously loaded commit.
* @return the time of a commit
*/
-GIT_EXTERN(time_t) git_commit_time(git_commit *commit);
+GIT_EXTERN(git_time_t) git_commit_time(git_commit *commit);
/**
* Get the commit timezone offset (i.e. committer's preferred timezone) of a commit.