summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 18:26:05 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 18:26:05 +0000
commit0f32daacb5f39a54d93e33c209b0c408501d0194 (patch)
tree2f11405abd3f0192ad5f9ea894bf66bcb389475c
parentea372490e1e712ec663897458869457f1e1714a1 (diff)
downloadchromium_src-0f32daacb5f39a54d93e33c209b0c408501d0194.zip
chromium_src-0f32daacb5f39a54d93e33c209b0c408501d0194.tar.gz
chromium_src-0f32daacb5f39a54d93e33c209b0c408501d0194.tar.bz2
Fix the build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54460 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/renderer/webplugin_delegate_pepper.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/webplugin_delegate_pepper.cc b/chrome/renderer/webplugin_delegate_pepper.cc
index 0fc4d82..dbfdb5c 100644
--- a/chrome/renderer/webplugin_delegate_pepper.cc
+++ b/chrome/renderer/webplugin_delegate_pepper.cc
@@ -610,7 +610,9 @@ NPError WebPluginDelegatePepper::Device2DGetStateContext(
std::string hex_md5 = MD5DigestToBase16(md5_result);
// Return the least significant 8 characters (i.e. 4 bytes)
// of the 32 character hexadecimal result as an int.
- base::HexStringToInt(hex_md5.substr(24), value);
+ int int_val;
+ base::HexStringToInt(hex_md5.substr(24), &int_val);
+ *value = int_val;
return NPERR_NO_ERROR;
}
return NPERR_GENERIC_ERROR;