diff options
author | Alex Budovski <abudovski@gmail.com> | 2011-01-10 14:57:06 +1100 |
---|---|---|
committer | Alex Budovski <abudovski@gmail.com> | 2011-01-10 15:12:29 +1100 |
commit | 0a3bcad07ee1de26dea22451952b55f0568e2985 (patch) | |
tree | 680b52f3f524641723aa05e13736ee85d98f4abb /src/git2/commit.h | |
parent | 073fa812411507d7a96cbabda3f4aef012d92811 (diff) | |
download | libgit2-0a3bcad07ee1de26dea22451952b55f0568e2985.tar.gz |
Fix Windows build with forced bit truncation.
Windows uses a 64 bit time_t by default and assigning to unsigned int causes a
64 -> 32 bit truncation warning. This change forces the truncation,
acknowledging the implications detailed in the file comments. Also, blobs are
limited to 32 bit file sizes for the same reason (on all platforms).
Diffstat (limited to 'src/git2/commit.h')
0 files changed, 0 insertions, 0 deletions