diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index 62c3f401bf9c9ce29cb1655a923e7120c306b640..93a254593c27a4e95dc8510bd042c89d43428446 100644
--- a/indra/llui/llview.cpp
+++ b/indra/llui/llview.cpp
@@ -812,7 +812,7 @@ LLView* LLView::childrenHandleHover(S32 x, S32 y, MASK mask)
 LLView*	LLView::childFromPoint(S32 x, S32 y, bool recur)
 {
 	if (!getVisible())
-		return false;
+		return 0;
 
 	BOOST_FOREACH(LLView* viewp, mChildList)
 	{