diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 07:17:41 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 07:17:41 +0000 |
commit | 2f312ab5f419b77456eba5e0362af3adaf94f6ad (patch) | |
tree | de5260b704b376e0c602d3ba5364072217c29732 /webkit/database | |
parent | 10821128cb8b272856d1df04fdf102f1dda1b3f2 (diff) | |
download | chromium_src-2f312ab5f419b77456eba5e0362af3adaf94f6ad.zip chromium_src-2f312ab5f419b77456eba5e0362af3adaf94f6ad.tar.gz chromium_src-2f312ab5f419b77456eba5e0362af3adaf94f6ad.tar.bz2 |
Enable -Werror on Linux and Win for src/webkit/
BUG=21140
Review URL: http://codereview.chromium.org/1749001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/database')
-rw-r--r-- | webkit/database/vfs_backend.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/database/vfs_backend.cc b/webkit/database/vfs_backend.cc index 8c1b50b..8cb8e05 100644 --- a/webkit/database/vfs_backend.cc +++ b/webkit/database/vfs_backend.cc @@ -25,7 +25,7 @@ bool VfsBackend::FileTypeIsMainDB(int desired_flags) { // static bool VfsBackend::OpenTypeIsReadWrite(int desired_flags) { - return desired_flags & SQLITE_OPEN_READWRITE; + return (desired_flags & SQLITE_OPEN_READWRITE) != 0; } // static |