From 0713e8c97a75cb209c5d36fba0bdf20dc107a981 Mon Sep 17 00:00:00 2001
From: nyx <none@none>
Date: Fri, 29 Jul 2011 17:21:27 -0400
Subject: [PATCH] BUILDFIX: fixing build for linux, casting doubles as
 parameters to abs

---
 indra/llprimitive/llmodel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h
index 90c1c252ed5..74e5657d28d 100644
--- a/indra/llprimitive/llmodel.h
+++ b/indra/llprimitive/llmodel.h
@@ -225,7 +225,7 @@ class LLModel : public LLVolume
 		bool areEqual( double a, double b )
 		{
 			const float epsilon = 1e-5f;
-			return (abs(a - b) > epsilon) && (a < b);
+			return (abs((int)(a - b)) > epsilon) && (a < b);
 		}
 		//Make sure that we return false for any values that are within the tolerance for equivalence
 		bool operator() ( const LLVector3& a, const LLVector3& b )
-- 
GitLab