mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 800343 - Cast nsresult to uint32_t to output to streams; r=ehsan
This commit is contained in:
parent
db89d7c49e
commit
08caf6e336
@ -456,7 +456,8 @@ PeerConnectionImpl::Initialize(IPeerConnectionObserver* aObserver,
|
||||
);
|
||||
|
||||
if (NS_FAILED(res)) {
|
||||
CSFLogErrorS(logTag, __FUNCTION__ << ": StartGathering failed: " << res);
|
||||
CSFLogErrorS(logTag, __FUNCTION__ << ": StartGathering failed: " <<
|
||||
static_cast<uint32_t>(res));
|
||||
return res;
|
||||
}
|
||||
|
||||
@ -482,7 +483,8 @@ PeerConnectionImpl::Initialize(IPeerConnectionObserver* aObserver,
|
||||
&fingerprint_length);
|
||||
|
||||
if (NS_FAILED(res)) {
|
||||
CSFLogErrorS(logTag, __FUNCTION__ << ": ComputeFingerprint failed: " << res);
|
||||
CSFLogErrorS(logTag, __FUNCTION__ << ": ComputeFingerprint failed: " <<
|
||||
static_cast<uint32_t>(res));
|
||||
return res;
|
||||
}
|
||||
|
||||
@ -493,7 +495,8 @@ PeerConnectionImpl::Initialize(IPeerConnectionObserver* aObserver,
|
||||
mSTSThread = do_GetService(NS_SOCKETTRANSPORTSERVICE_CONTRACTID, &res);
|
||||
|
||||
if (NS_FAILED(res)) {
|
||||
CSFLogErrorS(logTag, __FUNCTION__ << ": do_GetService failed: " << res);
|
||||
CSFLogErrorS(logTag, __FUNCTION__ << ": do_GetService failed: " <<
|
||||
static_cast<uint32_t>(res));
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user