From ec0d5d93dbde7f43c62365c0c02c1fd70456f417 Mon Sep 17 00:00:00 2001
From: Vadim Savchuk <vsavchuk@productengine.com>
Date: Wed, 3 Mar 2010 17:38:32 +0200
Subject: [PATCH] Fixed Linux build.

--HG--
branch : product-engine
---
 indra/newview/llpanelclassified.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llpanelclassified.cpp b/indra/newview/llpanelclassified.cpp
index 24cdcadb7c8..afdc27e74eb 100644
--- a/indra/newview/llpanelclassified.cpp
+++ b/indra/newview/llpanelclassified.cpp
@@ -1412,7 +1412,7 @@ void LLPanelClassifiedInfo::stretchSnapshot()
 	t_width *= ratio;
 	t_height *= ratio;
 
-	rc.setCenterAndSize(rc.getCenterX(), rc.getCenterY(), t_width, t_height);
+	rc.setCenterAndSize(rc.getCenterX(), rc.getCenterY(), llfloor(t_width), llfloor(t_height));
 	texture_ctrl->setRect(rc);
 
 	mSnapshotStreched = true;
-- 
GitLab