mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 21:56:44 +00:00
Really fix MSVC
These was left over from the previous PRs. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
This commit is contained in:
parent
887eaf4dc9
commit
a5b0e7f8bc
2
deps/http-parser/http_parser.c
vendored
2
deps/http-parser/http_parser.c
vendored
@ -368,7 +368,7 @@ size_t http_parser_execute (http_parser *parser,
|
|||||||
enum state state;
|
enum state state;
|
||||||
enum header_states header_state;
|
enum header_states header_state;
|
||||||
uint64_t index = parser->index;
|
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 *header_field_mark, *header_value_mark, *url_mark;
|
||||||
const char *matcher;
|
const char *matcher;
|
||||||
|
|
||||||
|
@ -352,7 +352,6 @@ static int win32_find_system(char *system_config_path)
|
|||||||
return GIT_ENOMEM;
|
return GIT_ENOMEM;
|
||||||
|
|
||||||
ret = ExpandEnvironmentStringsW(query, apphome_utf16, size);
|
ret = ExpandEnvironmentStringsW(query, apphome_utf16, size);
|
||||||
free(query_utf16);
|
|
||||||
if (ret == 0 || ret >= size)
|
if (ret == 0 || ret >= size)
|
||||||
return git__throw(GIT_ERROR, "Failed to expand environment strings");
|
return git__throw(GIT_ERROR, "Failed to expand environment strings");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user