From 2186b2adf493d02aacf363d6b91d978a49a6944b Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 15 Jul 2010 04:48:20 +0000 Subject: Fix a -Wbool-conversion warning. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@108404 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Expr/ExprPPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Expr') diff --git a/lib/Expr/ExprPPrinter.cpp b/lib/Expr/ExprPPrinter.cpp index 7130da97..6e7ccd2d 100644 --- a/lib/Expr/ExprPPrinter.cpp +++ b/lib/Expr/ExprPPrinter.cpp @@ -270,7 +270,7 @@ private: // right now, all Reads are byte reads but some // transformations might change this if (!base || base->getWidth() != Expr::Int8) - return false; + return NULL; // Get stride expr in proper index width. Expr::Width idxWidth = base->index->getWidth(); -- cgit 1.4.1