Merge pull request #432 from carlosmn/msvc

Really fix MSVC
This commit is contained in:
Vicent Martí 2011-09-27 11:14:23 -07:00
commit 35e9407c46
2 changed files with 1 additions and 2 deletions

View File

@ -368,7 +368,7 @@ size_t http_parser_execute (http_parser *parser,
enum state state;
enum header_states header_state;
uint64_t index = parser->index;
uint64_t nread = parser->nread;
uint32_t nread = parser->nread;
const char *header_field_mark, *header_value_mark, *url_mark;
const char *matcher;

View File

@ -352,7 +352,6 @@ static int win32_find_system(char *system_config_path)
return GIT_ENOMEM;
ret = ExpandEnvironmentStringsW(query, apphome_utf16, size);
free(query_utf16);
if (ret == 0 || ret >= size)
return git__throw(GIT_ERROR, "Failed to expand environment strings");