Merge "Fix compiler warnings" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-06 00:19:38 +00:00
committed by Android (Google) Code Review

View File

@@ -32,7 +32,7 @@ namespace widevine_vts {
void LogResponseError(const string& message, int 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(
@@ -77,7 +77,7 @@ namespace widevine_vts {
if (kHttpOk == httpStatusCode) {
LicenseRequest lic_request;
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());
return result;