mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-12 10:01:10 +00:00
Use generic types in git_index_entry
Off_t is not cool. It can be 32 or 64 bits depending on the platform, but on the Index format, it's always 32 bits. Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
0740b462da
commit
073fa81241
@ -45,8 +45,8 @@ GIT_BEGIN_DECL
|
||||
|
||||
/** Time used in a git index entry */
|
||||
typedef struct {
|
||||
time_t seconds;
|
||||
time_t nanoseconds;
|
||||
unsigned int seconds;
|
||||
unsigned int 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;
|
||||
off_t file_size;
|
||||
unsigned int file_size;
|
||||
|
||||
git_oid oid;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user