diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-01-15 15:48:36 -0800 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-01-15 15:48:36 -0800 |
commit | 1af56d7d7eae77525b84815858cc2de9c0aa60d8 (patch) | |
tree | d712274d7f93fc6c931ee043e9eb9bb5f5a94975 /include/git2/commit.h | |
parent | c1c399cf27fbb085e402afd6a405b1c24ddee478 (diff) | |
download | libgit2-1af56d7d7eae77525b84815858cc2de9c0aa60d8.tar.gz |
Fix #534: 64-bit issues in Windows
off_t is always 32 bits in Windows, which is beyond stupid, but we just
don't care anymore because we're using `git_off_t` which is assured to
be 64 bits on all platforms, regardless of compilation mode. Just
ensure that no casts to `off_t` are performed.
Also, the check for `off_t` overflows has been dropped, once again,
because the size of our offsets is always 64 bits on all platforms.
Fixes #534
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions