]> git.proxmox.com Git - libgit2.git/commit
Fix dev branch under MSVC
authorCarlos Martín Nieto <carlos@cmartin.tk>
Fri, 23 Sep 2011 15:36:37 +0000 (17:36 +0200)
committerVicent Marti <tanoku@gmail.com>
Tue, 27 Sep 2011 13:02:36 +0000 (15:02 +0200)
commit887eaf4dc9b6f870b021ad88c881d5fcc6ccf4d1
tree3e7ec6f141b22a714fda38df2adfc1f6e8a86bb4
parentdc5c87812c7328abc3f96e66b07e1c38885a51c1
Fix dev branch under MSVC

In libgit2: Move an enum out of an int bitfield in the HTTP transport.

In the parser: Use int bitfields and change some variable sizes to
better fit thir use. Variables that count the size of the data chunk
can only ever be as large as off_t. Warning 4127 can be ignored, as
nobody takes it seriously anyway.

From Emeric: change some variable declarations to keep MSVC happy.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
CMakeLists.txt
deps/http-parser/http_parser.c
src/transport-http.c