From 0ceab51f94cc6da782eb98b25efe77f144b961aa Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 2 May 2012 16:28:22 +0000 Subject: [PATCH] Fix StringPrintf format error. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@614 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- libcef/browser/devtools_delegate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcef/browser/devtools_delegate.cc b/libcef/browser/devtools_delegate.cc index 38c35e780..0a577572d 100644 --- a/libcef/browser/devtools_delegate.cc +++ b/libcef/browser/devtools_delegate.cc @@ -37,8 +37,8 @@ class CefDevToolsBindingHandler if (random_seed_.empty()) { // Generate a random seed that is used to make identifier guessing more // difficult. - random_seed_ = base::StringPrintf("%lf|%lu", - base::Time::Now().ToDoubleT(), base::RandUint64()); + random_seed_ = base::StringPrintf("%lf|%u", + base::Time::Now().ToDoubleT(), base::RandInt(0, INT_MAX)); } // Create a key that combines RVH IDs and the random seed.