mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1087161 - Upgrading B2G toolchain to gcc-4.9
* Fixed some -Werror=format issues by making function-style castings --HG-- extra : rebase_source : e9677c42819a8e95008bb3e97b97b47eff915021
This commit is contained in:
parent
016b169721
commit
74d291470d
@ -66,7 +66,7 @@ public:
|
||||
}
|
||||
nsresult rv = NS_DispatchToMainThread(runnable);
|
||||
if (NS_FAILED(rv)) {
|
||||
BT_LOGR("NS_DispatchToMainThread failed: %X", rv);
|
||||
BT_LOGR("NS_DispatchToMainThread failed: %X", unsigned(rv));
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ public:
|
||||
}
|
||||
nsresult rv = NS_DispatchToMainThread(runnable);
|
||||
if (NS_FAILED(rv)) {
|
||||
BT_LOGR("NS_DispatchToMainThread failed: %X", rv);
|
||||
BT_LOGR("NS_DispatchToMainThread failed: %X", unsigned(rv));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,7 @@ GonkMediaDataDecoder::ProcessDecode(MediaRawData* aSample)
|
||||
nsresult rv = mManager->Input(aSample);
|
||||
if (rv != NS_OK) {
|
||||
NS_WARNING("GonkAudioDecoder failed to input data");
|
||||
GMDD_LOG("Failed to input data err: %d",rv);
|
||||
GMDD_LOG("Failed to input data err: %d",int(rv));
|
||||
mCallback->Error();
|
||||
return;
|
||||
}
|
||||
|
@ -941,7 +941,7 @@ WebrtcOMXH264VideoEncoder::Encode(const webrtc::I420VideoFrame& aInputImage,
|
||||
nsresult rv = mOMX->ConfigureDirect(format,
|
||||
OMXVideoEncoder::BlobFormat::AVC_NAL);
|
||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
CODEC_LOGE("WebrtcOMXH264VideoEncoder:%p FAILED configuring encoder %d", this, rv);
|
||||
CODEC_LOGE("WebrtcOMXH264VideoEncoder:%p FAILED configuring encoder %d", this, int(rv));
|
||||
return WEBRTC_VIDEO_CODEC_ERROR;
|
||||
}
|
||||
mOMXConfigured = true;
|
||||
|
Loading…
Reference in New Issue
Block a user