summaryrefslogtreecommitdiff
path: root/src/git2/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/git2/index.h')
-rw-r--r--src/git2/index.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/git2/index.h b/src/git2/index.h
index f0cae09b1..5e4a8d437 100644
--- a/src/git2/index.h
+++ b/src/git2/index.h
@@ -45,8 +45,8 @@ GIT_BEGIN_DECL
/** Time used in a git index entry */
typedef struct {
- unsigned int seconds;
- unsigned int nanoseconds;
+ time_t seconds;
+ time_t nanoseconds;
} git_index_time;
/** Memory representation of a file entry in the index. */
@@ -59,7 +59,7 @@ typedef struct git_index_entry {
unsigned int mode;
unsigned int uid;
unsigned int gid;
- unsigned int file_size;
+ off_t file_size;
git_oid oid;