summaryrefslogtreecommitdiff
path: root/src/git2
diff options
context:
space:
mode:
authorAlex Budovski <abudovski@gmail.com>2011-01-10 14:57:06 +1100
committerAlex Budovski <abudovski@gmail.com>2011-01-10 15:12:29 +1100
commit0a3bcad07ee1de26dea22451952b55f0568e2985 (patch)
tree680b52f3f524641723aa05e13736ee85d98f4abb /src/git2
parent073fa812411507d7a96cbabda3f4aef012d92811 (diff)
downloadlibgit2-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')
0 files changed, 0 insertions, 0 deletions