aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--zxcvbn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zxcvbn.c b/zxcvbn.c
index c29c20c..c801ae0 100644
--- a/zxcvbn.c
+++ b/zxcvbn.c
@@ -212,7 +212,7 @@ static inline void MyOpenFile(FileHandle & f, const char *Name)
}
static inline bool MyReadFile(FileHandle & f, void *Buf, unsigned int Num)
{
- return f.read((char *)Buf, Num);
+ return (bool)f.read((char *)Buf, Num);
}
static inline void MyCloseFile(FileHandle & f)
{