Merge "Fix compiler warnings" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8e041f9fd3
@@ -32,7 +32,7 @@ namespace widevine_vts {
|
|||||||
|
|
||||||
void LogResponseError(const string& message, int http_status_code) {
|
void LogResponseError(const string& message, int http_status_code) {
|
||||||
ALOGD("HTTP Status code = %d", http_status_code);
|
ALOGD("HTTP Status code = %d", http_status_code);
|
||||||
ALOGD("HTTP response(%d): %s", message.size(), b2a_hex(message).c_str());
|
ALOGD("HTTP response(%zd): %s", message.size(), b2a_hex(message).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<uint8_t> WidevineVTSVendorModule_V1::handleProvisioningRequest(
|
vector<uint8_t> WidevineVTSVendorModule_V1::handleProvisioningRequest(
|
||||||
@@ -77,7 +77,7 @@ namespace widevine_vts {
|
|||||||
if (kHttpOk == httpStatusCode) {
|
if (kHttpOk == httpStatusCode) {
|
||||||
LicenseRequest lic_request;
|
LicenseRequest lic_request;
|
||||||
lic_request.GetDrmMessage(reply, drm_msg);
|
lic_request.GetDrmMessage(reply, drm_msg);
|
||||||
ALOGV("HTTP response body: (%u bytes)", drm_msg.size());
|
ALOGV("HTTP response body: (%zd bytes)", drm_msg.size());
|
||||||
}
|
}
|
||||||
vector<uint8_t> result(drm_msg.begin(), drm_msg.end());
|
vector<uint8_t> result(drm_msg.begin(), drm_msg.end());
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user