Commit 2b025590 authored by ycheo@chromium.org's avatar ycheo@chromium.org

Fix the compile error for win64: widevine_key_systems.cc.

BUG=372069

Review URL: https://codereview.chromium.org/280063002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269677 0039d316-1c4b-4281-b951-d872f2087c98
parent 73e3bf31
...@@ -23,9 +23,9 @@ namespace cdm { ...@@ -23,9 +23,9 @@ namespace cdm {
// Return |name|'s parent key system. // Return |name|'s parent key system.
static std::string GetDirectParentName(std::string name) { static std::string GetDirectParentName(std::string name) {
int last_period = name.find_last_of('.'); size_t last_period = name.find_last_of('.');
DCHECK_GT(last_period, 0); DCHECK_GT(last_period, 0u);
return name.substr(0, last_period); return name.substr(0u, last_period);
} }
void AddWidevineWithCodecs(WidevineCdmType widevine_cdm_type, void AddWidevineWithCodecs(WidevineCdmType widevine_cdm_type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment