mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-22 11:43:39 +00:00
Fix warnings in http_upload.cc with GCC
The context arguments are of type DWORD_PTR which is actually a integer type, not a pointer, so using NULL here causes a type missmatch warning: error: passing NULL to non-pointer argument 8 [...] Change-Id: Ia52f51fd0cd33af3b139f0427dec6c59c2455d0a Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3168663 Reviewed-by: Primiano Tucci <primiano@chromium.org>
This commit is contained in:
parent
ff5892c5da
commit
cf6246e2ba
1 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ namespace {
|
|||
NULL, // password
|
||||
INTERNET_SERVICE_HTTP,
|
||||
0, // flags
|
||||
NULL)); // context
|
||||
0)); // context
|
||||
if (!connection.get()) {
|
||||
return false;
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ namespace {
|
|||
NULL, // referer
|
||||
NULL, // agent type
|
||||
http_open_flags,
|
||||
NULL)); // context
|
||||
0)); // context
|
||||
if (!request.get()) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue