summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolbarview.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-06-08 10:40:32 -0700
committerMerov Linden <merov@lindenlab.com>2012-06-08 10:40:32 -0700
commitb4a53226c8b1b4a31c0f1411b110a0a32fa3599f (patch)
treef96c967713d9733f8bc5bae959a53ead40e393af /indra/newview/lltoolbarview.cpp
parentfa0c34afc6678c9ab1814c81e11c65e4bf3d1317 (diff)
parentf7f85dd0dda563a9fb49ed65b193a9ea98da9ba2 (diff)
Merge pull from richard/viewer-chui
Diffstat (limited to 'indra/newview/lltoolbarview.cpp')
-rw-r--r--indra/newview/lltoolbarview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolbarview.cpp b/indra/newview/lltoolbarview.cpp
index 81ad96f39e..2b5acdc1e8 100644
--- a/indra/newview/lltoolbarview.cpp
+++ b/indra/newview/lltoolbarview.cpp
@@ -603,7 +603,7 @@ BOOL LLToolBarView::handleDragTool( S32 x, S32 y, const LLUUID& uuid, LLAssetTyp
BOOL LLToolBarView::handleDropTool( void* cargo_data, S32 x, S32 y, LLToolBar* toolbar)
{
BOOL handled = FALSE;
- LLInventoryItem* inv_item = (LLInventoryItem*)cargo_data;
+ LLInventoryObject* inv_item = static_cast<LLInventoryObject*>(cargo_data);
LLAssetType::EType type = inv_item->getType();
if (type == LLAssetType::AT_WIDGET)