From 36ba43d6ea38062b17f7e63ef659962bfc51c64d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jun 2017 23:34:34 +0300 Subject: Fix clang-tidy check readability-implicit-bool-cast. --- src/fs/virtfs/fszip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/virtfs/fszip.cpp') diff --git a/src/fs/virtfs/fszip.cpp b/src/fs/virtfs/fszip.cpp index d70df7749..43891c783 100644 --- a/src/fs/virtfs/fszip.cpp +++ b/src/fs/virtfs/fszip.cpp @@ -666,7 +666,7 @@ namespace FsZip if (file == nullptr) return -1; - return file->mPos >= file->mSize; + return static_cast(file->mPos >= file->mSize); } const char *loadFile(FsEntry *restrict const entry, -- cgit v1.2.3-70-g09d2