summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 23:26:41 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 23:26:41 +0000
commitf92252d65f6e0a5571f8deb2489eee319d9095d8 (patch)
tree2ea80758e938b4e1da8625baf8a698b536868d29 /net/disk_cache
parent6f21761c4d531a23791924ee8794487c616e133b (diff)
downloadchromium_src-f92252d65f6e0a5571f8deb2489eee319d9095d8.zip
chromium_src-f92252d65f6e0a5571f8deb2489eee319d9095d8.tar.gz
chromium_src-f92252d65f6e0a5571f8deb2489eee319d9095d8.tar.bz2
Fix some more warnings.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/rankings.cc1
-rw-r--r--net/disk_cache/trace.cc2
2 files changed, 1 insertions, 2 deletions
diff --git a/net/disk_cache/rankings.cc b/net/disk_cache/rankings.cc
index 9e14d04..67f4ba1 100644
--- a/net/disk_cache/rankings.cc
+++ b/net/disk_cache/rankings.cc
@@ -39,7 +39,6 @@ disk_cache::RankCrashes g_rankings_crash = disk_cache::NO_CRASH;
namespace {
-const wchar_t* kBlockName = L"\\data_";
const int kHeadIndex = 0;
const int kTailIndex = 1;
const int kTransactionIndex = 2;
diff --git a/net/disk_cache/trace.cc b/net/disk_cache/trace.cc
index 0339e35..91f637f 100644
--- a/net/disk_cache/trace.cc
+++ b/net/disk_cache/trace.cc
@@ -58,7 +58,7 @@ struct TraceBuffer {
TraceBuffer* s_trace_buffer = NULL;
-void DebugOutput(char* msg) {
+void DebugOutput(const char* msg) {
#if defined(OS_WIN)
OutputDebugStringA(msg);
#else