diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-21 20:12:56 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-21 20:12:56 +0000 |
commit | be21555a228e74b1ad6f3314ae882cf21bc3c24e (patch) | |
tree | 3215603183ddb3b3acd62482b2b86bd3ef1daf27 /webkit/glue/media/simple_data_source.cc | |
parent | 4e3e9d70e14f80d41d7a1667430e6acbd561bd50 (diff) | |
download | chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.zip chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.tar.gz chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.tar.bz2 |
Enable compiler -Werror and -Wall on our webkit code for mac and linux.
This fixes some initialization order, removes unused varibles,
and fixes a couple signed/unsigned comparison errors. Please
check the signed/unsigned cases.
We can't enable it for windows yet because MSVC complains
about headers pulled in from WebCore. We'll have to wait
until the API is upstreamed.
BUG=21140
Review URL: http://codereview.chromium.org/214024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media/simple_data_source.cc')
-rw-r--r-- | webkit/glue/media/simple_data_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/media/simple_data_source.cc b/webkit/glue/media/simple_data_source.cc index bcbec57..b2b9f32 100644 --- a/webkit/glue/media/simple_data_source.cc +++ b/webkit/glue/media/simple_data_source.cc @@ -143,7 +143,7 @@ void SimpleDataSource::OnCompletedRequest(const URLRequestStatus& status, // If we don't get a content length or the request has failed, report it // as a network error. - DCHECK(size_ == -1 || size_ == data_.length()); + DCHECK(size_ == -1 || static_cast<size_t>(size_) == data_.length()); if (size_ == -1) { size_ = data_.length(); } |