From 2f312ab5f419b77456eba5e0362af3adaf94f6ad Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Wed, 21 Apr 2010 07:17:41 +0000 Subject: 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 --- webkit/database/vfs_backend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/database') 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 -- cgit v1.1