summaryrefslogtreecommitdiffstats
path: root/base/nss_init.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-13 18:10:56 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-13 18:10:56 +0000
commitc799366e36aca3488f2941663cfc3448e77634c6 (patch)
tree39be8046841cf9070bc6a07870a0764a64fbee4c /base/nss_init.cc
parent6e7e806a4eac5b6c0864cf00aa717299d23aca1d (diff)
downloadchromium_src-c799366e36aca3488f2941663cfc3448e77634c6.zip
chromium_src-c799366e36aca3488f2941663cfc3448e77634c6.tar.gz
chromium_src-c799366e36aca3488f2941663cfc3448e77634c6.tar.bz2
Fix cast style.
TBR=deanm Review URL: http://codereview.chromium.org/67084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nss_init.cc')
-rw-r--r--base/nss_init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/nss_init.cc b/base/nss_init.cc
index 911ff35..3a90732 100644
--- a/base/nss_init.cc
+++ b/base/nss_init.cc
@@ -46,7 +46,7 @@ class NSSInitSingleton {
if (status != SECSuccess) {
char buffer[513] = "Couldn't retrieve error";
PRInt32 err_length = PR_GetErrorTextLength();
- if (err_length > 0 && size_t(err_length) < sizeof(buffer))
+ if (err_length > 0 && static_cast<size_t>(err_length) < sizeof(buffer))
PR_GetErrorText(buffer);
NOTREACHED() << "Error calling NSS_NoDB_Init: " << buffer;